wxPGChoiceEditor Class Reference

Inheritance diagram for wxPGChoiceEditor:
wxPGEditor wxPGChoiceAndButtonEditor wxPGComboBoxEditor

List of all members.

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.

Member Function Documentation

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.


The documentation for this class was generated from the following file:
 All Classes Functions Variables Enumerations Enumerator
Generated on Sun Aug 22 12:42:14 2010 for wxPropertyGrid by  doxygen 1.6.3