Code::Blocks  SVN r11506
infopanel.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 INFOPANEL_H
7 #define INFOPANEL_H
8 
9 
10 //(*HeadersPCH(InfoPanel)
11 #include <wx/checkbox.h>
12 #include <wx/sizer.h>
13 #include <wx/panel.h>
14 #include <wx/stattext.h>
15 //*)
16 
17 class wxString;
18 
19 class InfoPanel: public wxPanel
20 {
21  public:
22 
23  InfoPanel(wxWindow* parent,wxWindowID id = -1);
24  virtual ~InfoPanel();
25 
26  //(*Identifiers(InfoPanel)
27  static const long ID_STATICTEXT1;
28  static const long ID_CHECKBOX1;
29  //*)
30 
31  void SetIntroText(const wxString& intro_msg)
32  {
33  lblIntro->SetLabel(intro_msg);
34 
35  GetSizer()->Fit(this);
36  GetSizer()->SetSizeHints(this);
37  }
38 // protected:
39 
40  //(*Handlers(InfoPanel)
41  //*)
42 
43  //(*Declarations(InfoPanel)
47  //*)
48 
49  private:
50 
51  DECLARE_EVENT_TABLE()
52 };
53 
54 #endif // INFOPANEL_H
wxBoxSizer * BoxSizer1
Definition: infopanel.h:46
InfoPanel(wxWindow *parent, wxWindowID id=-1)
Definition: infopanel.cpp:31
void SetIntroText(const wxString &intro_msg)
Definition: infopanel.h:31
wxCheckBox * chkSkip
Definition: infopanel.h:44
static const long ID_CHECKBOX1
Definition: infopanel.h:28
static const long ID_STATICTEXT1
Definition: infopanel.h:27
wxStaticText * lblIntro
Definition: infopanel.h:45
virtual ~InfoPanel()
Definition: infopanel.cpp:47
int wxWindowID