Make all instances of HasEditorCtrl() const, not just a few
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59376 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -259,7 +259,7 @@ public:
|
|||||||
virtual bool Render( wxRect cell, wxDC *dc, int state );
|
virtual bool Render( wxRect cell, wxDC *dc, int state );
|
||||||
virtual wxSize GetSize() const;
|
virtual wxSize GetSize() const;
|
||||||
|
|
||||||
virtual bool HasEditorCtrl() { return true; }
|
virtual bool HasEditorCtrl() const { return true; }
|
||||||
virtual wxControl* CreateEditorCtrl( wxWindow *parent, wxRect labelRect,
|
virtual wxControl* CreateEditorCtrl( wxWindow *parent, wxRect labelRect,
|
||||||
const wxVariant &value );
|
const wxVariant &value );
|
||||||
virtual bool GetValueFromEditorCtrl( wxControl* editor, wxVariant &value );
|
virtual bool GetValueFromEditorCtrl( wxControl* editor, wxVariant &value );
|
||||||
|
@@ -226,7 +226,7 @@ public:
|
|||||||
virtual bool Render( wxRect cell, wxDC *dc, int state );
|
virtual bool Render( wxRect cell, wxDC *dc, int state );
|
||||||
virtual wxSize GetSize() const;
|
virtual wxSize GetSize() const;
|
||||||
|
|
||||||
virtual bool HasEditorCtrl() { return true; }
|
virtual bool HasEditorCtrl() const { return true; }
|
||||||
virtual wxControl* CreateEditorCtrl( wxWindow *parent, wxRect labelRect, const wxVariant &value );
|
virtual wxControl* CreateEditorCtrl( wxWindow *parent, wxRect labelRect, const wxVariant &value );
|
||||||
virtual bool GetValueFromEditorCtrl( wxControl* editor, wxVariant &value );
|
virtual bool GetValueFromEditorCtrl( wxControl* editor, wxVariant &value );
|
||||||
|
|
||||||
|
@@ -1373,7 +1373,7 @@ public:
|
|||||||
Override this and make it return @true in order to
|
Override this and make it return @true in order to
|
||||||
indicate that this renderer supports in-place editing.
|
indicate that this renderer supports in-place editing.
|
||||||
*/
|
*/
|
||||||
virtual bool HasEditorCtrl();
|
virtual bool HasEditorCtrl() const;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
Overrride this to react to a left click.
|
Overrride this to react to a left click.
|
||||||
|
Reference in New Issue
Block a user