git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31999
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775
if ( !m_backBuffer )
m_backBuffer = new wxBitmap(sz.x, sz.y);
dcm.SelectObject(*m_backBuffer);
- PrepareDC(dcm);
// preserve the existing background, otherwise we'd erase anything the user
// code had drawn in its EVT_ERASE_BACKGROUND handler when we do the Blit
&dc,
0, rect.GetTop());
+ PrepareDC(dcm);
dcm.SetMapMode(wxMM_TEXT);
dcm.SetBackgroundMode(wxTRANSPARENT);