!__WX_DC_BLIT_FIXED__ case

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41889 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Stefan Csomor
2006-10-10 13:00:44 +00:00
parent b954afc925
commit d10e22fe8a

View 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