X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/156310e2e5eac9759abbe8113923bb19d8cbbafc..2debe2b120a2b376a57d3f8ec24eb418a23b2710:/src/common/overlaycmn.cpp diff --git a/src/common/overlaycmn.cpp b/src/common/overlaycmn.cpp index 722cd5794f..eeb08b7cdd 100644 --- a/src/common/overlaycmn.cpp +++ b/src/common/overlaycmn.cpp @@ -152,11 +152,6 @@ void wxOverlayImpl::Init( wxDC* dc, int x , int y , int width , int height ) m_y = y ; m_width = width ; m_height = height ; -#if defined(__WXGTK__) && !defined(__WX_DC_BLIT_FIXED__) - wxPoint pt = dc->GetDeviceOrigin(); - x += pt.x; - y += pt.y; -#endif // broken wxGTK wxDC::Blit dcMem.Blit(0, 0, m_width, m_height, dc, x, y); dcMem.SelectObject( wxNullBitmap );