]> git.saurik.com Git - wxWidgets.git/commitdiff
compilation fix
authorVadim Zeitlin <vadim@wxwidgets.org>
Sat, 31 Aug 2002 22:57:16 +0000 (22:57 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Sat, 31 Aug 2002 22:57:16 +0000 (22:57 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16899 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/generic/grid.cpp

index c5ad5fc40cf46a8a8fe20ecb88be08b9db160826..c00faac20df19ebe01b2abafd6ebd008c5a24a58 100644 (file)
@@ -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);