Make wxGrid::GetBatchCount() const
There is really no reason for this simple accessor not to be const.
This commit is contained in:
@@ -1235,7 +1235,7 @@ public:
|
|||||||
void BeginBatch() { m_batchCount++; }
|
void BeginBatch() { m_batchCount++; }
|
||||||
void EndBatch();
|
void EndBatch();
|
||||||
|
|
||||||
int GetBatchCount() { return m_batchCount; }
|
int GetBatchCount() const { return m_batchCount; }
|
||||||
|
|
||||||
virtual void Refresh(bool eraseb = true, const wxRect* rect = NULL) wxOVERRIDE;
|
virtual void Refresh(bool eraseb = true, const wxRect* rect = NULL) wxOVERRIDE;
|
||||||
|
|
||||||
|
@@ -4991,7 +4991,7 @@ public:
|
|||||||
(yet) matching calls to EndBatch(). While the grid's batch count is
|
(yet) matching calls to EndBatch(). While the grid's batch count is
|
||||||
greater than zero the display will not be updated.
|
greater than zero the display will not be updated.
|
||||||
*/
|
*/
|
||||||
int GetBatchCount();
|
int GetBatchCount() const;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
Returns the total number of grid columns.
|
Returns the total number of grid columns.
|
||||||
|
Reference in New Issue
Block a user