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 SetIntroText(const wxString & intro_msg)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) 44 wxCheckBox* chkSkip; 45 wxStaticText* lblIntro; 46 wxBoxSizer* BoxSizer1; 47 //*) 48 49 private: 50 51 DECLARE_EVENT_TABLE() 52 }; 53 54 #endif // INFOPANEL_H 55