From: Stefan Csomor Date: Tue, 10 Oct 2006 13:00:44 +0000 (+0000) Subject: !__WX_DC_BLIT_FIXED__ case X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/d10e22fe8ad283f37b1809349028ffc282e393ce !__WX_DC_BLIT_FIXED__ case git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41889 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/src/common/dcbase.cpp b/src/common/dcbase.cpp index 56ed0286d0..37800e0d72 100644 --- a/src/common/dcbase.cpp +++ b/src/common/dcbase.cpp @@ -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