Code::Blocks
SVN r11506
|
#include <genericsinglechoicelist.h>
Public Member Functions | |
GenericSingleChoiceList (wxWindow *parent, wxWindowID id=-1) | |
virtual | ~GenericSingleChoiceList () |
void | SetChoices (const wxArrayString &choices, int defChoice) |
int | GetChoice () const |
void | SetChoice (int choice) |
void | SetDescription (const wxString &descr) |
Static Public Attributes | |
static const long | ID_STATICTEXT1 = wxNewId() |
static const long | ID_LISTBOX1 = wxNewId() |
Protected Attributes | |
wxListBox * | GenericChoiceList |
wxStaticText * | lblDescr |
Definition at line 20 of file genericsinglechoicelist.h.
GenericSingleChoiceList::GenericSingleChoiceList | ( | wxWindow * | parent, |
wxWindowID | id = -1 |
||
) |
Definition at line 32 of file genericsinglechoicelist.cpp.
References _(), _T, wxBoxSizer::Add(), wxBoxSizer::Fit(), wxBoxSizer::SetSizeHints(), wxALL, wxDefaultPosition, wxDefaultSize, wxDefaultValidator, wxEXPAND, wxFIXED_MINSIZE, wxLB_HSCROLL, wxLB_SINGLE, wxTAB_TRAVERSAL, and wxVERTICAL.
|
virtual |
Definition at line 54 of file genericsinglechoicelist.cpp.
|
inline |
Definition at line 28 of file genericsinglechoicelist.h.
References GenericChoiceList.
Referenced by WizGenericSingleChoiceList::GetChoice(), and WizGenericSingleChoiceList::OnPageChanging().
|
inline |
Definition at line 29 of file genericsinglechoicelist.h.
References GenericChoiceList.
Referenced by WizGenericSingleChoiceList::SetChoice().
void GenericSingleChoiceList::SetChoices | ( | const wxArrayString & | choices, |
int | defChoice | ||
) |
Definition at line 58 of file genericsinglechoicelist.cpp.
References GenericChoiceList, and wxArrayString::GetCount().
Referenced by WizGenericSingleChoiceList::WizGenericSingleChoiceList().
|
inline |
Definition at line 30 of file genericsinglechoicelist.h.
References lblDescr.
Referenced by WizGenericSingleChoiceList::WizGenericSingleChoiceList().
|
protected |
Definition at line 49 of file genericsinglechoicelist.h.
Referenced by GetChoice(), SetChoice(), and SetChoices().
|
static |
Definition at line 40 of file genericsinglechoicelist.h.
|
static |
Definition at line 39 of file genericsinglechoicelist.h.
|
protected |
Definition at line 50 of file genericsinglechoicelist.h.
Referenced by SetDescription().