~ubuntu-branches/ubuntu/hardy/codeblocks/hardy-backports

« back to all changes in this revision

Viewing changes to src/plugins/scriptedwizard/infopanel.cpp

  • Committer: Bazaar Package Importer
  • Author(s): Michael Casadevall
  • Date: 2008-07-17 04:39:23 UTC
  • Revision ID: james.westby@ubuntu.com-20080717043923-gmsy5cwkdjswghkm
Tags: upstream-8.02
ImportĀ upstreamĀ versionĀ 8.02

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
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$
 
6
 * $Id$
 
7
 * $HeadURL$
 
8
 */
 
9
 
 
10
#include "infopanel.h"
 
11
 
 
12
#include <wx/intl.h>
 
13
#include <wx/string.h>
 
14
 
 
15
//(*IdInit(InfoPanel)
 
16
const long InfoPanel::ID_STATICTEXT1 = wxNewId();
 
17
const long InfoPanel::ID_CHECKBOX1 = wxNewId();
 
18
//*)
 
19
 
 
20
BEGIN_EVENT_TABLE(InfoPanel,wxPanel)
 
21
        //(*EventTable(InfoPanel)
 
22
        //*)
 
23
END_EVENT_TABLE()
 
24
 
 
25
InfoPanel::InfoPanel(wxWindow* parent,wxWindowID id)
 
26
{
 
27
        //(*Initialize(InfoPanel)
 
28
        Create(parent,id,wxDefaultPosition,wxDefaultSize,wxTAB_TRAVERSAL,_T("wxPanel"));
 
29
        BoxSizer1 = new wxBoxSizer(wxVERTICAL);
 
30
        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"));
 
31
        BoxSizer1->Add(lblIntro,1,wxALL|wxEXPAND|wxALIGN_LEFT|wxALIGN_TOP,8);
 
32
        chkSkip = new wxCheckBox(this,ID_CHECKBOX1,_("Skip this page next time"),wxDefaultPosition,wxDefaultSize,0,wxDefaultValidator,_T("ID_CHECKBOX1"));
 
33
        chkSkip->SetValue(false);
 
34
        BoxSizer1->Add(chkSkip,0,wxALL|wxEXPAND|wxALIGN_LEFT|wxALIGN_TOP,8);
 
35
        SetSizer(BoxSizer1);
 
36
        BoxSizer1->Fit(this);
 
37
        BoxSizer1->SetSizeHints(this);
 
38
        //*)
 
39
}
 
40
 
 
41
InfoPanel::~InfoPanel()
 
42
{
 
43
}
 
44