From b77adccd6d04ce11fff75e76ae8098f06471c1b8 Mon Sep 17 00:00:00 2001 From: Paul Cornett Date: Thu, 6 Dec 2007 16:22:17 +0000 Subject: [PATCH] setting style on backing window should not be necessary, its background never shows git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@50548 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- src/gtk/win_gtk.cpp | 4 ---- 1 file changed, 4 deletions(-) diff --git a/src/gtk/win_gtk.cpp b/src/gtk/win_gtk.cpp index d8d901817c..dfbba02116 100644 --- a/src/gtk/win_gtk.cpp +++ b/src/gtk/win_gtk.cpp @@ -9,7 +9,6 @@ #include "wx/defs.h" #include "wx/gtk/win_gtk.h" -#include "gtk/gtk.h" /* wxPizza is a custom GTK+ widget derived from GtkFixed. A custom widget @@ -167,9 +166,6 @@ 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); - - widget->style = gtk_style_attach (widget->style, pizza->m_backing_window); - gtk_style_set_background (widget->style, pizza->m_backing_window, GTK_STATE_NORMAL); } } -- 2.47.2