wxPGTextCtrlEditor Class Reference

Inheritance diagram for wxPGTextCtrlEditor:
wxPGEditor wxPGTextCtrlAndButtonEditor

List of all members.

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)

Member Function Documentation

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.


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