]> git.saurik.com Git - wxWidgets.git/blobdiff - src/gtk1/statbox.cpp
Add markup support to wxMSW wxButton and show it in the sample.
[wxWidgets.git] / src / gtk1 / statbox.cpp
index c000c1306aee609bd41a2c5f5e9929b222622b09..b8a3d77256ee3085fc76a078a92a7564dc88a944 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"
@@ -22,8 +22,6 @@
 // wxStaticBox
 //-----------------------------------------------------------------------------
 
-IMPLEMENT_DYNAMIC_CLASS(wxStaticBox, wxControl)
-
 wxStaticBox::wxStaticBox()
 {
 }
@@ -88,9 +86,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