!__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:
@@ -1330,7 +1330,7 @@ void wxOverlayImpl::Init( wxWindowDC* dc, int x , int y , int width , int height
|
|||||||
m_width = width ;
|
m_width = width ;
|
||||||
m_height = height ;
|
m_height = height ;
|
||||||
#if defined(__WXGTK__) && !defined(__WX_DC_BLIT_FIXED__)
|
#if defined(__WXGTK__) && !defined(__WX_DC_BLIT_FIXED__)
|
||||||
wxPoint pt = dcWin.GetDeviceOrigin();
|
wxPoint pt = dc->GetDeviceOrigin();
|
||||||
x += pt.x;
|
x += pt.x;
|
||||||
y += pt.y;
|
y += pt.y;
|
||||||
#endif // broken wxGTK wxDC::Blit
|
#endif // broken wxGTK wxDC::Blit
|
||||||
|
Reference in New Issue
Block a user