#include <editors.h>
Public Member Functions | |
virtual bool | CanContainCustomImage () const |
wxWindow * | CreateControlsBase (wxPropertyGrid *propgrid, wxPGProperty *property, const wxPoint &pos, const wxSize &sz, long extraStyle) const |
virtual void | DeleteItem (wxWindow *ctrl, int index) const |
virtual wxPG_CONST_WXCHAR_PTR | GetName () const |
virtual int | InsertItem (wxWindow *ctrl, const wxString &label, int index) const |
virtual void | SetControlIntValue (wxPGProperty *property, wxWindow *ctrl, int value) const |
virtual void | SetControlStringValue (wxPGProperty *property, wxWindow *ctrl, const wxString &txt) const |
wxPGChoiceEditor () | |
virtual | ~wxPGChoiceEditor () |
Definition at line 264 of file editors.h.
virtual wxPGChoiceEditor::~wxPGChoiceEditor | ( | ) | [virtual] |
virtual bool wxPGChoiceEditor::CanContainCustomImage | ( | ) | const [virtual] |
Returns true if control itself can contain the custom image. Default is to return false.
Reimplemented from wxPGEditor.
wxWindow* wxPGChoiceEditor::CreateControlsBase | ( | wxPropertyGrid * | propgrid, | |
wxPGProperty * | property, | |||
const wxPoint & | pos, | |||
const wxSize & | sz, | |||
long | extraStyle | |||
) | const |
virtual void wxPGChoiceEditor::DeleteItem | ( | wxWindow * | ctrl, | |
int | index | |||
) | const [virtual] |
Deletes item from existing control. Default implementation does nothing.
Reimplemented from wxPGEditor.
virtual wxPG_CONST_WXCHAR_PTR wxPGChoiceEditor::GetName | ( | ) | const [virtual] |
Returns pointer to the name of the editor. For example, wxPG_EDITOR(TextCtrl) has name "TextCtrl". This method is autogenerated for custom editors.
Implements wxPGEditor.
Reimplemented in wxPGComboBoxEditor, and wxPGChoiceAndButtonEditor.
virtual int wxPGChoiceEditor::InsertItem | ( | wxWindow * | ctrl, | |
const wxString & | label, | |||
int | index | |||
) | const [virtual] |
Inserts item to existing control. Index -1 means appending. Default implementation does nothing. Returns index of item added.
Reimplemented from wxPGEditor.
virtual void wxPGChoiceEditor::SetControlIntValue | ( | wxPGProperty * | property, | |
wxWindow * | ctrl, | |||
int | value | |||
) | const [virtual] |
Sets control's value specifically from int (applies to choice etc.).
Reimplemented from wxPGEditor.
virtual void wxPGChoiceEditor::SetControlStringValue | ( | wxPGProperty * | property, | |
wxWindow * | ctrl, | |||
const wxString & | txt | |||
) | const [virtual] |
Sets control's value specifically from string.
Reimplemented from wxPGEditor.