Public Member Functions | |
virtual bool | CanContainCustomImage () const |
Returns true if control itself can contain the custom image. | |
wxWindow * | CreateControlsBase (wxPropertyGrid *propgrid, wxPGProperty *property, const wxPoint &pos, const wxSize &sz, long extraStyle) const |
virtual void | DeleteItem (wxWindow *ctrl, int index) const |
Deletes item from existing control. | |
virtual wxPG_CONST_WXCHAR_PTR | GetName () const |
Returns pointer to the name of the editor. | |
virtual int | InsertItem (wxWindow *ctrl, const wxString &label, int index) const |
Inserts item to existing control. | |
virtual void | SetControlIntValue (wxPGProperty *property, wxWindow *ctrl, int value) const |
Sets control's value specifically from int (applies to choice etc. | |
virtual void | SetControlStringValue (wxPGProperty *property, wxWindow *ctrl, const wxString &txt) const |
Sets control's value specifically from string. |
virtual bool wxPGChoiceEditor::CanContainCustomImage | ( | ) | const [virtual] |
Returns true if control itself can contain the custom image.
Default is to return false.
Reimplemented from wxPGEditor.
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.