]> git.saurik.com Git - wxWidgets.git/commitdiff
use buffered DC again
authorRobert Roebling <robert@roebling.de>
Sat, 8 Dec 2007 10:39:12 +0000 (10:39 +0000)
committerRobert Roebling <robert@roebling.de>
Sat, 8 Dec 2007 10:39:12 +0000 (10:39 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@50565 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/generic/datavgen.cpp

index 8804aad3f527ce9477d468b0cf8d42bfed928d05..a21401fd6f8bb8fbb5f64fb5ec3eca989629ee6b 100644 (file)
@@ -2276,8 +2276,7 @@ void wxDataViewMainWindow::ScrollTo( int rows, int column )
 void wxDataViewMainWindow::OnPaint( wxPaintEvent &WXUNUSED(event) )
 {
     wxDataViewModel *model = GetOwner()->GetModel();
-    //wxAutoBufferedPaintDC dc( this );
-    wxPaintDC dc(this);
+    wxAutoBufferedPaintDC dc( this );
 
     // prepare the DC
     dc.SetBackground(GetBackgroundColour());