Changed wxGrid::Refresh to not do anything,

modified EndBatch accordingly to still update the grid.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@7511 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Stefan Neis
2000-05-30 13:08:38 +00:00
parent 3c6bc198d9
commit 5681482475
2 changed files with 19 additions and 15 deletions

View File

@@ -1052,15 +1052,7 @@ public:
// flicker
//
void BeginBatch() { m_batchCount++; }
void EndBatch()
{
if ( m_batchCount > 0 )
{
m_batchCount--;
if ( !m_batchCount )
Refresh();
}
}
void EndBatch();
int GetBatchCount() { return m_batchCount; }