Code::Blocks  SVN r11506
genericselectpath.h
Go to the documentation of this file.
1 /*
2  * This file is part of the Code::Blocks IDE and licensed under the GNU General Public License, version 3
3  * http://www.gnu.org/licenses/gpl-3.0.html
4  */
5 
6 #ifndef GENERICSELECTPATH_H
7 #define GENERICSELECTPATH_H
8 
9 
10 //(*HeadersPCH(GenericSelectPath)
11 #include <wx/sizer.h>
12 #include <wx/button.h>
13 #include <wx/panel.h>
14 #include <wx/stattext.h>
15 #include <wx/textctrl.h>
16 //*)
17 
18 class wxString;
19 
21 {
22  public:
23 
24  GenericSelectPath(wxWindow* parent,wxWindowID id = -1);
25  virtual ~GenericSelectPath();
26 
27  // use this because it adjusts the sizer too
28  void SetDescription(const wxString& descr)
29  {
30  lblDescr->SetLabel(descr);
31 
32  GetSizer()->Fit(this);
33  GetSizer()->SetSizeHints(this);
34  }
35 
36  //(*Identifiers(GenericSelectPath)
37  static const long ID_STATICTEXT1;
38  static const long ID_STATICTEXT2;
39  static const long ID_TEXTCTRL1;
40  static const long ID_BUTTON1;
41  //*)
42 
43  //(*Handlers(GenericSelectPath)
44  //*)
45 
46  //(*Declarations(GenericSelectPath)
53  //*)
54 
55  private:
56 
57  DECLARE_EVENT_TABLE()
58 };
59 
60 #endif
static const long ID_STATICTEXT1
wxStaticText * lblDescr
static const long ID_BUTTON1
static const long ID_TEXTCTRL1
wxBoxSizer * BoxSizer2
wxStaticText * lblLabel
wxTextCtrl * txtFolder
static const long ID_STATICTEXT2
wxBoxSizer * BoxSizer1
int wxWindowID
GenericSelectPath(wxWindow *parent, wxWindowID id=-1)
void SetDescription(const wxString &descr)