From 76f1eb7e1f6be1d53c81fd3fa6ebb6f9c9b689b7 Mon Sep 17 00:00:00 2001 From: Robert Roebling Date: Sat, 8 Dec 2007 10:39:12 +0000 Subject: [PATCH] use buffered DC again git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@50565 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- src/generic/datavgen.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/generic/datavgen.cpp b/src/generic/datavgen.cpp index 8804aad3f5..a21401fd6f 100644 --- a/src/generic/datavgen.cpp +++ b/src/generic/datavgen.cpp @@ -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()); -- 2.45.2