Code::Blocks  SVN r11506
Public Member Functions | Static Public Attributes | Protected Attributes | List of all members
GenericSingleChoiceList Class Reference

#include <genericsinglechoicelist.h>

Inheritance diagram for GenericSingleChoiceList:
Collaboration diagram for GenericSingleChoiceList:

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

wxListBoxGenericChoiceList
 
wxStaticTextlblDescr
 

Detailed Description

Definition at line 20 of file genericsinglechoicelist.h.

Constructor & Destructor Documentation

◆ GenericSingleChoiceList()

GenericSingleChoiceList::GenericSingleChoiceList ( wxWindow parent,
wxWindowID  id = -1 
)

◆ ~GenericSingleChoiceList()

GenericSingleChoiceList::~GenericSingleChoiceList ( )
virtual

Definition at line 54 of file genericsinglechoicelist.cpp.

Member Function Documentation

◆ GetChoice()

int GenericSingleChoiceList::GetChoice ( ) const
inline

◆ SetChoice()

void GenericSingleChoiceList::SetChoice ( int  choice)
inline

Definition at line 29 of file genericsinglechoicelist.h.

References GenericChoiceList.

Referenced by WizGenericSingleChoiceList::SetChoice().

◆ SetChoices()

void GenericSingleChoiceList::SetChoices ( const wxArrayString choices,
int  defChoice 
)

◆ SetDescription()

void GenericSingleChoiceList::SetDescription ( const wxString descr)
inline

Member Data Documentation

◆ GenericChoiceList

wxListBox* GenericSingleChoiceList::GenericChoiceList
protected

Definition at line 49 of file genericsinglechoicelist.h.

Referenced by GetChoice(), SetChoice(), and SetChoices().

◆ ID_LISTBOX1

const long GenericSingleChoiceList::ID_LISTBOX1 = wxNewId()
static

Definition at line 40 of file genericsinglechoicelist.h.

◆ ID_STATICTEXT1

const long GenericSingleChoiceList::ID_STATICTEXT1 = wxNewId()
static

Definition at line 39 of file genericsinglechoicelist.h.

◆ lblDescr

wxStaticText* GenericSingleChoiceList::lblDescr
protected

Definition at line 50 of file genericsinglechoicelist.h.

Referenced by SetDescription().


The documentation for this class was generated from the following files: