Return wxWindow* from wxDataViewCustomRenderer::CreateEditorCtrl().
There's no reason to limit custom editor controls to wxControl, which would rule out e.g. composite controls or any custom widgets. Make appropriate changes to related functions and code too. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@67576 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -1590,9 +1590,9 @@ public:
|
||||
}
|
||||
@endcode
|
||||
*/
|
||||
virtual wxControl* CreateEditorCtrl(wxWindow* parent,
|
||||
wxRect labelRect,
|
||||
const wxVariant& value);
|
||||
virtual wxWindow* CreateEditorCtrl(wxWindow* parent,
|
||||
wxRect labelRect,
|
||||
const wxVariant& value);
|
||||
|
||||
/**
|
||||
Return the attribute to be used for rendering.
|
||||
@@ -1627,7 +1627,7 @@ public:
|
||||
}
|
||||
@endcode
|
||||
*/
|
||||
virtual bool GetValueFromEditorCtrl(wxControl* editor,
|
||||
virtual bool GetValueFromEditorCtrl(wxWindow* editor,
|
||||
wxVariant& value);
|
||||
|
||||
/**
|
||||
|
Reference in New Issue
Block a user