Code::Blocks  SVN r11506
goto_file.h
Go to the documentation of this file.
1 #ifndef GOTO_FILE_H
2 #define GOTO_FILE_H
3 
4 #ifndef WX_PRECOMP
5  //(*HeadersPCH(GotoFile)
6  #include <wx/dialog.h>
7  class wxBoxSizer;
8  class wxListCtrl;
9  class wxStaticText;
10  class wxTextCtrl;
11  //*)
12 #endif
13 //(*Headers(GotoFile)
14 //*)
15 
17 
18 
19 class GotoFile: public wxDialog
20 {
21  public:
22  GotoFile(wxWindow* parent, IncrementalSelectIterator *iterator, const wxString &title, const wxString &message);
23  ~GotoFile() override;
24 
25  int GetSelection();
26 
27  void AddControlBelowList(wxControl *control);
28 
29  private:
30  void FilterItems();
31  private:
33  private:
34 
35  //(*Declarations(GotoFile)
39  //*)
40 
41  //(*Identifiers(GotoFile)
42  static const long ID_TEXTCTRL1;
43  static const long ID_RESULT_LIST;
44  //*)
45 
46  //(*Handlers(GotoFile)
47  //*)
48 
49  protected:
50 
51  void BuildContent(wxWindow* parent, IncrementalSelectIterator *iterator, const wxString &title,
52  const wxString &message);
53 
54  DECLARE_EVENT_TABLE()
55 };
56 
57 #endif
wxBoxSizer * m_sizer
Definition: goto_file.h:37
wxTextCtrl * m_Text
Definition: goto_file.h:38
GotoFile(wxWindow *parent, IncrementalSelectIterator *iterator, const wxString &title, const wxString &message)
Definition: goto_file.cpp:41
static const long ID_TEXTCTRL1
Definition: goto_file.h:42
Class that implements a virtual list control that uses an IncrementalSelectIterator to populate the l...
void FilterItems()
~GotoFile() override
Definition: goto_file.cpp:126
static const long ID_RESULT_LIST
Definition: goto_file.h:43
void AddControlBelowList(wxControl *control)
Definition: goto_file.cpp:139
void BuildContent(wxWindow *parent, IncrementalSelectIterator *iterator, const wxString &title, const wxString &message)
Definition: goto_file.cpp:50
IncrementalListCtrl * m_ResultList
Definition: goto_file.h:36
IncrementalSelectHandler m_handler
Definition: goto_file.h:32
int GetSelection()
Definition: goto_file.cpp:134