You can derive custom properties with choices from this class. More...
#include <props.h>
Public Member Functions | |
virtual int | GetChoiceInfo (wxPGChoiceInfo *choiceinfo) |
Returns current value's index to the choice control. | |
const wxPGChoices & | GetChoices () const |
virtual const wxString * | GetEntry (size_t index, int *pvalue) const |
virtual int | GetIndexForValue (int value) const |
size_t | GetItemCount () const |
wxEnumProperty (const wxString &label, const wxString &name, const wxArrayString &labels, const wxArrayInt &values=wxArrayInt(), int value=0) | |
wxEnumProperty (const wxString &label, const wxString &name, const wxChar **labels, const long *values, wxPGChoices *choicesCache, int value=0) | |
wxEnumProperty (const wxString &label, const wxString &name, wxPGChoices &choices, int value=0) | |
wxEnumProperty (const wxString &label=wxPG_LABEL, const wxString &name=wxPG_LABEL, const wxChar **labels=NULL, const long *values=NULL, int value=0) | |
Protected Attributes | |
wxPGChoices | m_choices |
You can derive custom properties with choices from this class.
See wxBaseEnumProperty for remarks.
virtual int wxEnumProperty::GetChoiceInfo | ( | wxPGChoiceInfo * | choiceinfo | ) | [virtual] |
Returns current value's index to the choice control.
May also return, through pointer arguments, strings that should be inserted to that control. Irrelevant to classes which do not employ wxPG_EDITOR(Choice) or similar.
Reimplemented from wxPGProperty.