From 5959d184d0e69e9ef379bc21f1dc749f1978e224 Mon Sep 17 00:00:00 2001 From: Vadim Zeitlin Date: Sun, 28 Apr 2013 18:25:39 +0000 Subject: [PATCH] No real changes, just make wxGridCellEditor accessors const. 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 | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/include/wx/generic/grid.h b/include/wx/generic/grid.h index a763cd1b04..e940a63c8f 100644 --- a/include/wx/generic/grid.h +++ b/include/wx/generic/grid.h @@ -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 -- 2.47.2