From: Robert Roebling Date: Sun, 17 Oct 2004 19:32:48 +0000 (+0000) Subject: Took one part of the patch back again... X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/bf9848e73dc33d2bf9125844e7390a1dcaa8dd79 Took one part of the patch back again... git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29948 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/src/gtk/dcclient.cpp b/src/gtk/dcclient.cpp index ed7876025f..c5e1b9c5f5 100644 --- a/src/gtk/dcclient.cpp +++ b/src/gtk/dcclient.cpp @@ -1426,7 +1426,7 @@ bool wxWindowDC::DoBlit( wxCoord xdest, wxCoord ydest, } else // use_bitmap_method { - if ((memDC->m_selected.GetWidth() != ww) || (memDC->m_selected.GetHeight() != hh)) + if ((width != ww) || (height != hh)) { // get clip coords wxRegion tmp( xx,yy,ww,hh ); diff --git a/src/gtk1/dcclient.cpp b/src/gtk1/dcclient.cpp index ed7876025f..c5e1b9c5f5 100644 --- a/src/gtk1/dcclient.cpp +++ b/src/gtk1/dcclient.cpp @@ -1426,7 +1426,7 @@ bool wxWindowDC::DoBlit( wxCoord xdest, wxCoord ydest, } else // use_bitmap_method { - if ((memDC->m_selected.GetWidth() != ww) || (memDC->m_selected.GetHeight() != hh)) + if ((width != ww) || (height != hh)) { // get clip coords wxRegion tmp( xx,yy,ww,hh );