#include <propgrid.h>
Public Member Functions | |
void | Add (const wxChar *label, int value=INT_MAX) |
void | Add (const wxArrayString &arr, const wxArrayInt &arrint) |
void | Add (const wxArrayString &arr, const long *values=NULL) |
void | Add (const wxChar **labels, const long *values=NULL) |
void | AddAsSorted (const wxString &label, int value=INT_MAX) |
void | AddInt (int val) |
void | AddString (const wxString &str) |
void | Assign (const wxPGChoices &a) |
void | AssignData (wxPGChoicesData *data) |
void | EnsureData () |
wxPGChoicesData * | ExtractData () |
size_t | GetCount () const |
wxPGChoicesData * | GetData () |
wxPGChoicesData * | GetDataPtr () const |
wxPGChoicesId | GetId () const |
const wxString & | GetLabel (size_t ind) const |
const wxArrayString & | GetLabels () const |
wxArrayString & | GetLabels () |
int | GetValue (size_t ind) const |
const wxArrayInt & | GetValues () const |
wxArrayInt & | GetValues () |
int | Index (const wxString &str) const |
void | Insert (const wxChar *label, int index, int value=INT_MAX) |
bool | IsOk () const |
void | RemoveAt (size_t nIndex, size_t count=1) |
void | Set (const wxArrayString &labels, const wxArrayInt &values=(*((wxArrayInt *) NULL))) |
void | Set (wxArrayString &arr, const long *values=(const long *) NULL) |
void | Set (const wxChar **labels, const long *values=NULL) |
void | SetExclusive () |
void | SetLabels (const wxArrayString &arr) |
void | SetLabels (wxArrayString &arr) |
void | SetValues (const wxArrayInt &arr) |
void | SetValues (wxArrayInt &arr) |
wxPGChoices (wxPGChoicesData *data) | |
wxPGChoices (const wxArrayString &labels, const wxArrayInt &values=(*((wxArrayInt *) NULL))) | |
wxPGChoices (const wxChar **labels, const long *values=NULL) | |
wxPGChoices (wxPGChoices &a) | |
wxPGChoices () | |
~wxPGChoices () | |
Protected Member Functions | |
void | Free () |
void | Init () |
Protected Attributes | |
wxPGChoicesData * | m_data |
|
Basic constructor.
|
|
Copy constructor.
|
|
Constructor.
|
|
Constructor.
|
|
Simple interface constructor.
|
|
Destructor.
|
|
Adds single item.
|
|
Version that works with wxArrayString and wxArrayInt.
|
|
Version that works with wxArrayString.
|
|
Adds to current. If did not have own copies, creates them now. If was empty, identical to set except that creates copies. |
|
Adds single item.
|
|
Gets a unsigned number identifying this list.
|
|
Returns reference to wxArrayString of labels for you to modify.
|
|
Returns reference to wxArrayInt of values for you to modify.
|
|
Inserts single item.
|
|
Returns false if this is a constant empty set of choices, which should not be modified.
|
|
Removes count items starting at position nIndex.
|
|
Version that works with wxArrayString and wxArrayInt.
|
|
Version that works with wxArrayString. TODO: Deprecate this. |
|
Does not create copies for itself.
|