]> git.saurik.com Git - wxWidgets.git/blobdiff - src/gtk1/statbox.cpp
Preserve original menu label for later retrieval
[wxWidgets.git] / src / gtk1 / statbox.cpp
index c000c1306aee609bd41a2c5f5e9929b222622b09..a2542e88e2b20362c15da953c20586179b9f42f4 100644 (file)
@@ -13,7 +13,7 @@
 #if wxUSE_STATBOX
 
 #include "wx/statbox.h"
-#include "wx/gtk/private.h"
+#include "wx/gtk1/private.h"
 
 #include "gdk/gdk.h"
 #include "gtk/gtk.h"
@@ -88,9 +88,6 @@ void wxStaticBox::SetLabel( const wxString& label )
 void wxStaticBox::DoApplyWidgetStyle(GtkRcStyle *style)
 {
     gtk_widget_modify_style(m_widget, style);
-#ifdef __WXGTK20__
-    gtk_widget_modify_style(GTK_FRAME(m_widget)->label_widget, style);
-#endif
 }
 
 // static