From ad603bf790cdfb219bf566f304ff4593fe8d1532 Mon Sep 17 00:00:00 2001 From: Vadim Zeitlin Date: Sat, 31 Aug 2002 22:57:16 +0000 Subject: [PATCH] compilation fix git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16899 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- src/generic/grid.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/generic/grid.cpp b/src/generic/grid.cpp index c5ad5fc40c..c00faac20d 100644 --- a/src/generic/grid.cpp +++ b/src/generic/grid.cpp @@ -5746,10 +5746,10 @@ void wxGrid::OnPaint( wxPaintEvent& WXUNUSED(event) ) wxPaintDC dc(this); // needed to prevent zillions of paint events on MSW } -void wxGrid::Refresh(bool eraseb, wxRect* rect= NULL) +void wxGrid::Refresh(bool eraseb, wxRect* rect) { - //Don't do anything if between Begin/EndBatch... - // endbatch will do all this on the last nested one anyway. + // Don't do anything if between Begin/EndBatch... + // EndBatch() will do all this on the last nested one anyway. if (! GetBatchCount()) { wxScrolledWindow::Refresh(eraseb,rect); -- 2.50.0