From 69fdd54eeb09e2a2dcc9907804d8449499d88aba Mon Sep 17 00:00:00 2001 From: Robert Roebling Date: Sun, 16 Dec 2007 23:53:09 +0000 Subject: [PATCH] Disable any refresh in backing window (set_back_pixmap( None ..) makes it transparent git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@50755 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- src/gtk/win_gtk.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/gtk/win_gtk.cpp b/src/gtk/win_gtk.cpp index dfbba02116..860c830338 100644 --- a/src/gtk/win_gtk.cpp +++ b/src/gtk/win_gtk.cpp @@ -10,6 +10,8 @@ #include "wx/defs.h" #include "wx/gtk/win_gtk.h" +#include + /* wxPizza is a custom GTK+ widget derived from GtkFixed. A custom widget is needed to adapt GTK+ to wxWidgets needs in 3 areas: scrolling, window @@ -166,6 +168,8 @@ static void realize(GtkWidget* widget) else gdk_window_reparent(widget->window, pizza->m_backing_window, border_x, border_y); gdk_window_resize(widget->window, w, h); + + gdk_window_set_back_pixmap( pizza->m_backing_window, None, False ); } } -- 2.45.2