#include <editors.h>
Public Member Functions | |
virtual wxPG_DECLARE_CREATECONTROLS wxPG_CONST_WXCHAR_PTR | GetName () const |
virtual bool | GetValueFromControl (wxVariant &variant, wxPGProperty *property, wxWindow *ctrl) const |
virtual bool | OnEvent (wxPropertyGrid *propgrid, wxPGProperty *property, wxWindow *ctrl, wxEvent &event) const |
virtual void | OnFocus (wxPGProperty *property, wxWindow *wnd) const |
virtual void | UpdateControl (wxPGProperty *property, wxWindow *ctrl) const |
wxPGComboBoxEditor () | |
virtual | ~wxPGComboBoxEditor () |
Definition at line 293 of file editors.h.
virtual wxPGComboBoxEditor::~wxPGComboBoxEditor | ( | ) | [virtual] |
virtual wxPG_DECLARE_CREATECONTROLS wxPG_CONST_WXCHAR_PTR wxPGComboBoxEditor::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.
Reimplemented from wxPGChoiceEditor.
virtual bool wxPGComboBoxEditor::GetValueFromControl | ( | wxVariant & | variant, | |
wxPGProperty * | property, | |||
wxWindow * | ctrl | |||
) | const [virtual] |
Returns value from control, via parameter 'variant'. Usually ends up calling property's StringToValue or IntToValue. Returns true if value was different.
Reimplemented from wxPGEditor.
virtual bool wxPGComboBoxEditor::OnEvent | ( | wxPropertyGrid * | propgrid, | |
wxPGProperty * | property, | |||
wxWindow * | wnd_primary, | |||
wxEvent & | event | |||
) | const [virtual] |
Handles events. Returns true if value in control was modified (see wxPGProperty::OnEvent for more information).
Implements wxPGEditor.
virtual void wxPGComboBoxEditor::OnFocus | ( | wxPGProperty * | property, | |
wxWindow * | wnd | |||
) | const [virtual] |
Extra processing when control gains focus. For example, wxTextCtrl based controls should select all text.
Reimplemented from wxPGEditor.
virtual void wxPGComboBoxEditor::UpdateControl | ( | wxPGProperty * | property, | |
wxWindow * | ctrl | |||
) | const [virtual] |
Loads value from property to the control.
Implements wxPGEditor.