]> git.saurik.com Git - wxWidgets.git/commitdiff
Took one part of the patch back again...
authorRobert Roebling <robert@roebling.de>
Sun, 17 Oct 2004 19:32:48 +0000 (19:32 +0000)
committerRobert Roebling <robert@roebling.de>
Sun, 17 Oct 2004 19:32:48 +0000 (19:32 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29948 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/gtk/dcclient.cpp
src/gtk1/dcclient.cpp

index ed7876025f746202eacf9db182bb85d854187957..c5e1b9c5f5415b839dda5ba09999aa81181b3a14 100644 (file)
@@ -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 );
index ed7876025f746202eacf9db182bb85d854187957..c5e1b9c5f5415b839dda5ba09999aa81181b3a14 100644 (file)
@@ -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 );