From: Mart Raudsepp Date: Tue, 4 Apr 2006 13:37:31 +0000 (+0000) Subject: gdk_window_copy_area(drawable,gc,x,y,source_drawable,source_x,source_y,width,height) -> X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/62d4b5d6fe0033070a84ea5365b75bfca4b0554c gdk_window_copy_area(drawable,gc,x,y,source_drawable,source_x,source_y,width,height) -> gdk_draw_pixmap(drawable,gc,source_drawable,source_x,source_y,x,y,width,height) git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38544 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/src/gtk/dcclient.cpp b/src/gtk/dcclient.cpp index 57bce1de01..06fd035e96 100644 --- a/src/gtk/dcclient.cpp +++ b/src/gtk/dcclient.cpp @@ -1466,9 +1466,10 @@ bool wxWindowDC::DoBlit( wxCoord xdest, wxCoord ydest, // copy including child window contents gdk_gc_set_subwindow( m_penGC, GDK_INCLUDE_INFERIORS ); - gdk_window_copy_area( m_window, m_penGC, xx, yy, - srcDC->GetWindow(), - xsrc, ysrc, width, height ); + gdk_draw_pixmap( m_window, m_penGC, + srcDC->GetWindow(), + xsrc, ysrc, xx, yy, + width, height ); gdk_gc_set_subwindow( m_penGC, GDK_CLIP_BY_CHILDREN ); } }