]> git.saurik.com Git - wxWidgets.git/blobdiff - src/gtk1/dcclient.cpp
no more _ftime instead of ftime
[wxWidgets.git] / src / gtk1 / dcclient.cpp
index 84ad260e394188ffd668d290a7d9eb2e72ca2c2e..15b1c16e4b0cd3b15c90f80546fbb21043d6e13b 100644 (file)
@@ -153,6 +153,10 @@ static GdkGC* wxGetPoolGC( GdkWindow *window, wxPoolGCType type )
         {
             wxGCPool[i].m_gc = gdk_gc_new( window );
             gdk_gc_set_exposures( wxGCPool[i].m_gc, FALSE );
+            // This allows you to e.g. copy from the screen
+            // without clipping the windows on it.
+            gdk_gc_set_subwindow( wxGCPool[i].m_gc, 
+                                 GDK_INCLUDE_INFERIORS );
             wxGCPool[i].m_type = type;
             wxGCPool[i].m_used = FALSE;
         }