Code::Blocks
SVN r11506
plugins
scriptedwizard
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
31
InfoPanel
::
InfoPanel
(
wxWindow
* parent,
wxWindowID
id
)
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
47
InfoPanel::~InfoPanel
()
48
{
49
}
50
wxNewId
int wxNewId()
intl.h
wxDefaultValidator
const wxValidator wxDefaultValidator
InfoPanel
Definition:
infopanel.h:19
string.h
infopanel.h
_T
#define _T(string)
wxALL
wxBoxSizer
wxST_NO_AUTORESIZE
#define wxST_NO_AUTORESIZE
wxTAB_TRAVERSAL
#define wxTAB_TRAVERSAL
wxDefaultSize
const wxSize wxDefaultSize
wxDefaultPosition
const wxPoint wxDefaultPosition
InfoPanel::ID_CHECKBOX1
static const long ID_CHECKBOX1
Definition:
infopanel.h:28
wxCheckBox
InfoPanel::ID_STATICTEXT1
static const long ID_STATICTEXT1
Definition:
infopanel.h:27
wxVERTICAL
_
const wxString & _(const wxString &string)
wxPanel
wxStaticText
InfoPanel::~InfoPanel
virtual ~InfoPanel()
Definition:
infopanel.cpp:47
wxWindowID
int wxWindowID
sdk.h
wxWindow
wxEXPAND
Generated by
1.8.13