Doc correction.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45524 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
parent
21e3e3bc75
commit
81a220373b
@ -224,15 +224,15 @@ wxDataViewDateRenderer
|
|||||||
|
|
||||||
\section{\class{wxDataViewCustomRenderer}}\label{wxdataviewcustomrenderer}
|
\section{\class{wxDataViewCustomRenderer}}\label{wxdataviewcustomrenderer}
|
||||||
|
|
||||||
wxDataViewCustomRenderer has to be derived from if the
|
You need to derive a new class from wxDataViewCustomRenderer in
|
||||||
user wants to have a completely new renderer. You
|
order to write a new renderer. You need to override at least
|
||||||
need to overrode at least \helpref{SetValue}{wxdataviewrenderersetvalue},
|
\helpref{SetValue}{wxdataviewrenderersetvalue},
|
||||||
\helpref{GetValue}{wxdataviewrenderergetvalue},
|
\helpref{GetValue}{wxdataviewrenderergetvalue},
|
||||||
\helpref{GetSize}{wxdataviewcustomrenderergetsize}
|
\helpref{GetSize}{wxdataviewcustomrenderergetsize}
|
||||||
and \helpref{Render}{wxdataviewcustomrendererrender}.
|
and \helpref{Render}{wxdataviewcustomrendererrender}.
|
||||||
|
|
||||||
If you want your renderer to additionally support in-place
|
If you want your renderer to support in-place editing then you
|
||||||
editing then you also need to override
|
also need to override
|
||||||
\helpref{HasEditorCtrl}{wxdataviewcustomrendererhaseditorctrl},
|
\helpref{HasEditorCtrl}{wxdataviewcustomrendererhaseditorctrl},
|
||||||
\helpref{CreateEditorCtrl}{wxdataviewcustomrenderercreateeditorctrl}
|
\helpref{CreateEditorCtrl}{wxdataviewcustomrenderercreateeditorctrl}
|
||||||
and \helpref{GetValueFromEditorCtrl}{wxdataviewcustomrenderergetvaluefromeditorctrl}.
|
and \helpref{GetValueFromEditorCtrl}{wxdataviewcustomrenderergetvaluefromeditorctrl}.
|
||||||
|
Loading…
Reference in New Issue
Block a user