]> git.saurik.com Git - wxWidgets.git/commitdiff
Make all instances of HasEditorCtrl() const, not just a few
authorRobert Roebling <robert@roebling.de>
Fri, 6 Mar 2009 19:07:40 +0000 (19:07 +0000)
committerRobert Roebling <robert@roebling.de>
Fri, 6 Mar 2009 19:07:40 +0000 (19:07 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59376 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

include/wx/generic/dataview.h
include/wx/gtk/dataview.h
interface/wx/dataview.h

index 08ad8128a0531539fc8a53b9b24410bbc479624b..267e2c98a9e806aad4cc0714425eec1d965fdf1b 100644 (file)
@@ -259,7 +259,7 @@ public:
     virtual bool Render( wxRect cell, wxDC *dc, int state );
     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 bool GetValueFromEditorCtrl( wxControl* editor, wxVariant &value );
index d197acaf3629d9ce793832d532e57247752a56c8..dacccb9f1897813bdb353dd9343271df49f03571 100644 (file)
@@ -226,7 +226,7 @@ public:
     virtual bool Render( wxRect cell, wxDC *dc, int state );
     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 bool GetValueFromEditorCtrl( wxControl* editor, wxVariant &value );
 
index 16d5ef6e3eff595ff207b5f090357297bf3bca29..bbddab8c19363eae66d4e2f1afe444d83a46f3f0 100644 (file)
@@ -1373,7 +1373,7 @@ public:
         Override this and make it return @true in order to
         indicate that this renderer supports in-place editing.
     */
-    virtual bool HasEditorCtrl();
+    virtual bool HasEditorCtrl() const;
 
     /**
         Overrride this to react to a left click.