Public Member Functions | |
virtual wxPG_CONST_WXCHAR_PTR | GetName () const |
Returns pointer to the name of the editor. | |
virtual void | OnFocus (wxPGProperty *property, wxWindow *wnd) const |
Extra processing when control gains focus. | |
virtual void | SetControlStringValue (wxPGProperty *property, wxWindow *ctrl, const wxString &txt) const |
Sets control's value specifically from string. | |
Static Public Member Functions | |
static bool | GetTextCtrlValueFromControl (wxVariant &variant, wxPGProperty *property, wxWindow *ctrl) |
static bool | OnTextCtrlEvent (wxPropertyGrid *propgrid, wxPGProperty *property, wxWindow *ctrl, wxEvent &event) |
virtual wxPG_CONST_WXCHAR_PTR wxPGTextCtrlEditor::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 wxPGTextCtrlAndButtonEditor.
virtual void wxPGTextCtrlEditor::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 wxPGTextCtrlEditor::SetControlStringValue | ( | wxPGProperty * | property, | |
wxWindow * | ctrl, | |||
const wxString & | txt | |||
) | const [virtual] |
Sets control's value specifically from string.
Reimplemented from wxPGEditor.