From c21c8158e90120b5ae6dd3b027171b39c6f60947 Mon Sep 17 00:00:00 2001 From: Robert Roebling Date: Sun, 16 Dec 2007 13:53:07 +0000 Subject: [PATCH] Remove old/new DC test code (3000th commit - and still typing) git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@50741 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- src/gtk/dcclient.cpp | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/src/gtk/dcclient.cpp b/src/gtk/dcclient.cpp index c8ee27bd35..4a36650e9e 100644 --- a/src/gtk/dcclient.cpp +++ b/src/gtk/dcclient.cpp @@ -1439,17 +1439,16 @@ bool wxWindowDCImpl::DoBlit( wxCoord xdest, wxCoord ydest, else { // No scaling and not a memory dc with a mask either -#if wxUSE_NEW_DC GdkWindow* window = NULL; wxDCImpl *impl = source->GetImpl(); wxWindowDCImpl *gtk_impl = wxDynamicCast(impl, wxWindowDCImpl); if (gtk_impl) window = gtk_impl->GetGDKWindow(); -#else - GdkWindow* window = source->GetGDKWindow(); -#endif if ( !window ) + { + SetLogicalFunction( old_logical_func ); return false; + } // copy including child window contents gdk_gc_set_subwindow( m_penGC, GDK_INCLUDE_INFERIORS ); -- 2.47.2