]> git.saurik.com Git - wxWidgets.git/blobdiff - src/common/overlaycmn.cpp
implement button support for pre-XP systems (or with themes disabled); using only...
[wxWidgets.git] / src / common / overlaycmn.cpp
index 722cd5794f9813ba58d094e3f128dac52adee313..eeb08b7cdd440395c30d1bf7cf68427a0ebef746 100644 (file)
@@ -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 );