Make wxGrid::GetBatchCount() const

There is really no reason for this simple accessor not to be const.
This commit is contained in:
Vadim Zeitlin
2020-02-18 23:21:11 +01:00
parent 15de1a4cf4
commit 586d0e6ee6
2 changed files with 2 additions and 2 deletions

View File

@@ -1235,7 +1235,7 @@ public:
void BeginBatch() { m_batchCount++; }
void EndBatch();
int GetBatchCount() { return m_batchCount; }
int GetBatchCount() const { return m_batchCount; }
virtual void Refresh(bool eraseb = true, const wxRect* rect = NULL) wxOVERRIDE;