\helpref{wxDataViewCustomRenderer}{wxdataviewcustomrenderer}.
The {\it wxDataViewCellMode} flag controls, what actions
\helpref{wxDataViewCustomRenderer}{wxdataviewcustomrenderer}.
The {\it wxDataViewCellMode} flag controls, what actions
indicates that the user can double click the cell and
something will happen (e.g. a window for editing a date
indicates that the user can double click the cell and
something will happen (e.g. a window for editing a date
that the user can edit the data in-place, i.e. an control
will show up after a slow click on the cell. This behaviour
is best known from changing the filename in most file
that the user can edit the data in-place, i.e. an control
will show up after a slow click on the cell. This behaviour
is best known from changing the filename in most file
-wxDataViewCustomRenderer has to be derived from if the
-user wants to have a completely new renderer. You
-need to overrode at least \helpref{SetValue}{wxdataviewrenderersetvalue},
+You need to derive a new class from wxDataViewCustomRenderer in
+order to write a new renderer. You need to override at least
+\helpref{SetValue}{wxdataviewrenderersetvalue},
\helpref{GetValue}{wxdataviewrenderergetvalue},
\helpref{GetSize}{wxdataviewcustomrenderergetsize}
and \helpref{Render}{wxdataviewcustomrendererrender}.
\helpref{GetValue}{wxdataviewrenderergetvalue},
\helpref{GetSize}{wxdataviewcustomrenderergetsize}
and \helpref{Render}{wxdataviewcustomrendererrender}.
\helpref{HasEditorCtrl}{wxdataviewcustomrendererhaseditorctrl},
\helpref{CreateEditorCtrl}{wxdataviewcustomrenderercreateeditorctrl}
and \helpref{GetValueFromEditorCtrl}{wxdataviewcustomrenderergetvaluefromeditorctrl}.
\helpref{HasEditorCtrl}{wxdataviewcustomrendererhaseditorctrl},
\helpref{CreateEditorCtrl}{wxdataviewcustomrenderercreateeditorctrl}
and \helpref{GetValueFromEditorCtrl}{wxdataviewcustomrenderergetvaluefromeditorctrl}.
-\func{virtual wxControl*}{CreateEditorCtrl} {\param{wxWindow *}{parent}, \param{wxRect }{labelRect}, \param{const wxVariant & }{value}}
+\func{virtual wxControl*}{CreateEditorCtrl}{\param{wxWindow *}{parent}, \param{wxRect }{labelRect}, \param{const wxVariant \& }{value}}
Override this to create the actual editor control once editing
is about to start. {\it parent} is the parent of the editor
Override this to create the actual editor control once editing
is about to start. {\it parent} is the parent of the editor
Overrride this so that the renderer can get the value
from the editor control (pointed to by {\it editor}):
Overrride this so that the renderer can get the value
from the editor control (pointed to by {\it editor}):