Code::Blocks
SVN r11506
plugins
scriptedwizard
genericselectpath.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 GENERICSELECTPATH_H
7
#define GENERICSELECTPATH_H
8
9
10
//(*HeadersPCH(GenericSelectPath)
11
#include <
wx/sizer.h
>
12
#include <
wx/button.h
>
13
#include <
wx/panel.h
>
14
#include <
wx/stattext.h
>
15
#include <
wx/textctrl.h
>
16
//*)
17
18
class
wxString
;
19
20
class
GenericSelectPath
:
public
wxPanel
21
{
22
public
:
23
24
GenericSelectPath
(
wxWindow
* parent,
wxWindowID
id
= -1);
25
virtual
~GenericSelectPath
();
26
27
// use this because it adjusts the sizer too
28
void
SetDescription
(
const
wxString
& descr)
29
{
30
lblDescr
->SetLabel(descr);
31
32
GetSizer()->Fit(
this
);
33
GetSizer()->SetSizeHints(
this
);
34
}
35
36
//(*Identifiers(GenericSelectPath)
37
static
const
long
ID_STATICTEXT1
;
38
static
const
long
ID_STATICTEXT2
;
39
static
const
long
ID_TEXTCTRL1
;
40
static
const
long
ID_BUTTON1
;
41
//*)
42
43
//(*Handlers(GenericSelectPath)
44
//*)
45
46
//(*Declarations(GenericSelectPath)
47
wxBoxSizer
*
BoxSizer2
;
48
wxButton
*
btnBrowse
;
49
wxTextCtrl
*
txtFolder
;
50
wxStaticText
*
lblLabel
;
51
wxBoxSizer
*
BoxSizer1
;
52
wxStaticText
*
lblDescr
;
53
//*)
54
55
private
:
56
57
DECLARE_EVENT_TABLE()
58
};
59
60
#endif
GenericSelectPath::ID_STATICTEXT1
static const long ID_STATICTEXT1
Definition:
genericselectpath.h:37
button.h
GenericSelectPath::lblDescr
wxStaticText * lblDescr
Definition:
genericselectpath.h:52
GenericSelectPath::ID_BUTTON1
static const long ID_BUTTON1
Definition:
genericselectpath.h:40
GenericSelectPath::ID_TEXTCTRL1
static const long ID_TEXTCTRL1
Definition:
genericselectpath.h:39
wxButton
wxTextCtrl
wxBoxSizer
GenericSelectPath::BoxSizer2
wxBoxSizer * BoxSizer2
Definition:
genericselectpath.h:47
textctrl.h
wxString
GenericSelectPath
Definition:
genericselectpath.h:20
GenericSelectPath::lblLabel
wxStaticText * lblLabel
Definition:
genericselectpath.h:50
GenericSelectPath::btnBrowse
wxButton * btnBrowse
Definition:
genericselectpath.h:48
GenericSelectPath::txtFolder
wxTextCtrl * txtFolder
Definition:
genericselectpath.h:49
sizer.h
GenericSelectPath::~GenericSelectPath
virtual ~GenericSelectPath()
Definition:
genericselectpath.cpp:55
wxPanel
wxStaticText
GenericSelectPath::ID_STATICTEXT2
static const long ID_STATICTEXT2
Definition:
genericselectpath.h:38
stattext.h
GenericSelectPath::BoxSizer1
wxBoxSizer * BoxSizer1
Definition:
genericselectpath.h:51
wxWindowID
int wxWindowID
wxWindow
GenericSelectPath::GenericSelectPath
GenericSelectPath(wxWindow *parent, wxWindowID id=-1)
Definition:
genericselectpath.cpp:31
panel.h
GenericSelectPath::SetDescription
void SetDescription(const wxString &descr)
Definition:
genericselectpath.h:28
Generated by
1.8.13