Code::Blocks  SVN r11506
infopanel.cpp
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  * $Revision: 10270 $
6  * $Id: infopanel.cpp 10270 2015-05-15 10:57:08Z jenslody $
7  * $HeadURL: https://svn.code.sf.net/p/codeblocks/code/trunk/src/plugins/scriptedwizard/infopanel.cpp $
8  */
9 
10 #include <sdk.h>
11 #ifndef CB_PRECOMP
12  //(*InternalHeadersPCH(InfoPanel)
13  #include <wx/string.h>
14  #include <wx/intl.h>
15  //*)
16 #endif // CB_PRECOMP
17 
18 #include "infopanel.h"
19 
20 
21 //(*IdInit(InfoPanel)
22 const long InfoPanel::ID_STATICTEXT1 = wxNewId();
23 const long InfoPanel::ID_CHECKBOX1 = wxNewId();
24 //*)
25 
26 BEGIN_EVENT_TABLE(InfoPanel,wxPanel)
27  //(*EventTable(InfoPanel)
28  //*)
29 END_EVENT_TABLE()
30 
32 {
33  //(*Initialize(InfoPanel)
34  Create(parent, id, wxDefaultPosition, wxDefaultSize, wxTAB_TRAVERSAL, _T("id"));
35  BoxSizer1 = new wxBoxSizer(wxVERTICAL);
36  lblIntro = new wxStaticText(this, ID_STATICTEXT1, _("Welcome to the new console application wizard!\n\n\n\n\n\n\n\n\n\n\n\n\n\n"), wxDefaultPosition, wxDefaultSize, wxST_NO_AUTORESIZE, _T("ID_STATICTEXT1"));
37  BoxSizer1->Add(lblIntro, 1, wxALL|wxEXPAND, 8);
38  chkSkip = new wxCheckBox(this, ID_CHECKBOX1, _("Skip this page next time"), wxDefaultPosition, wxDefaultSize, 0, wxDefaultValidator, _T("ID_CHECKBOX1"));
39  chkSkip->SetValue(false);
40  BoxSizer1->Add(chkSkip, 0, wxALL|wxEXPAND, 8);
41  SetSizer(BoxSizer1);
42  BoxSizer1->Fit(this);
43  BoxSizer1->SetSizeHints(this);
44  //*)
45 }
46 
48 {
49 }
50 
int wxNewId()
const wxValidator wxDefaultValidator
#define _T(string)
#define wxST_NO_AUTORESIZE
#define wxTAB_TRAVERSAL
const wxSize wxDefaultSize
const wxPoint wxDefaultPosition
static const long ID_CHECKBOX1
Definition: infopanel.h:28
static const long ID_STATICTEXT1
Definition: infopanel.h:27
const wxString & _(const wxString &string)
virtual ~InfoPanel()
Definition: infopanel.cpp:47
int wxWindowID