]> git.saurik.com Git - wxWidgets.git/commitdiff
No real changes, just make wxGridCellEditor accessors const.
authorVadim Zeitlin <vadim@wxwidgets.org>
Sun, 28 Apr 2013 18:25:39 +0000 (18:25 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Sun, 28 Apr 2013 18:25:39 +0000 (18:25 +0000)
IsCreated(), GetControl() and GetCellAttr() should both be const, so make them
so.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@73875 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

include/wx/generic/grid.h

index a763cd1b04c9c3759c4203a492fe524b8a2bcaa4..e940a63c8f88c97fa3c813de2adc8b5b3d8062cf 100644 (file)
@@ -192,11 +192,11 @@ class WXDLLIMPEXP_ADV wxGridCellEditor : public wxGridCellWorker
 public:
     wxGridCellEditor();
 
-    bool IsCreated() { return m_control != NULL; }
-    wxControl* GetControl() { return m_control; }
+    bool IsCreated() const { return m_control != NULL; }
+    wxControl* GetControl() const { return m_control; }
     void SetControl(wxControl* control) { m_control = control; }
 
-    wxGridCellAttr* GetCellAttr() { return m_attr; }
+    wxGridCellAttr* GetCellAttr() const { return m_attr; }
     void SetCellAttr(wxGridCellAttr* attr) { m_attr = attr; }
 
     // Creates the actual edit control