use buffered DC again
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@50565 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -2276,8 +2276,7 @@ void wxDataViewMainWindow::ScrollTo( int rows, int column )
|
|||||||
void wxDataViewMainWindow::OnPaint( wxPaintEvent &WXUNUSED(event) )
|
void wxDataViewMainWindow::OnPaint( wxPaintEvent &WXUNUSED(event) )
|
||||||
{
|
{
|
||||||
wxDataViewModel *model = GetOwner()->GetModel();
|
wxDataViewModel *model = GetOwner()->GetModel();
|
||||||
//wxAutoBufferedPaintDC dc( this );
|
wxAutoBufferedPaintDC dc( this );
|
||||||
wxPaintDC dc(this);
|
|
||||||
|
|
||||||
// prepare the DC
|
// prepare the DC
|
||||||
dc.SetBackground(GetBackgroundColour());
|
dc.SetBackground(GetBackgroundColour());
|
||||||
|
Reference in New Issue
Block a user