compilation fix

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16899 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin
2002-08-31 22:57:16 +00:00
parent 739555e321
commit ad603bf790

View 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);