]> git.saurik.com Git - wxWidgets.git/commitdiff
!__WX_DC_BLIT_FIXED__ case
authorStefan Csomor <csomor@advancedconcepts.ch>
Tue, 10 Oct 2006 13:00:44 +0000 (13:00 +0000)
committerStefan Csomor <csomor@advancedconcepts.ch>
Tue, 10 Oct 2006 13:00:44 +0000 (13:00 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41889 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/common/dcbase.cpp

index 56ed0286d08db82254b65a28e08aad125cc0d4fb..37800e0d72105b5c3db8a048b8541ea060f95347 100644 (file)
@@ -1330,7 +1330,7 @@ void wxOverlayImpl::Init( wxWindowDC* dc, int x , int y , int width , int height
     m_width = width ;
     m_height = height ;
 #if defined(__WXGTK__) && !defined(__WX_DC_BLIT_FIXED__)
-    wxPoint pt = dcWin.GetDeviceOrigin();
+    wxPoint pt = dc->GetDeviceOrigin();
     x += pt.x;
     y += pt.y;
 #endif // broken wxGTK wxDC::Blit