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
This commit is contained in:
@@ -192,11 +192,11 @@ class WXDLLIMPEXP_ADV wxGridCellEditor : public wxGridCellWorker
|
|||||||
public:
|
public:
|
||||||
wxGridCellEditor();
|
wxGridCellEditor();
|
||||||
|
|
||||||
bool IsCreated() { return m_control != NULL; }
|
bool IsCreated() const { return m_control != NULL; }
|
||||||
wxControl* GetControl() { return m_control; }
|
wxControl* GetControl() const { return m_control; }
|
||||||
void SetControl(wxControl* control) { m_control = 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; }
|
void SetCellAttr(wxGridCellAttr* attr) { m_attr = attr; }
|
||||||
|
|
||||||
// Creates the actual edit control
|
// Creates the actual edit control
|
||||||
|
Reference in New Issue
Block a user