]> git.saurik.com Git - wxWidgets.git/blobdiff - src/gtk1/control.cpp
work around a bug in TabCtrl_AdjustRect which will cause a crash on
[wxWidgets.git] / src / gtk1 / control.cpp
index e638c35d8d3204492cad13e0645c22adac35cb8e..41f5cc4ea1737f5e7794e4ab4a323be70585be2f 100644 (file)
@@ -267,21 +267,5 @@ wxControl::GetDefaultAttributesFromGTKWidget(GtkWidget* (*widget_new)(GtkAdjustm
     return attr;
 }
 
-void wxControl::ApplyWidgetStyle()
-{
-    GtkRcStyle *style = CreateWidgetStyle();
-    if ( style )
-    {
-        DoApplyWidgetStyle(style);
-        gtk_rc_style_unref(style);
-    }
-}
-
-void wxControl::DoApplyWidgetStyle(GtkRcStyle *style)
-{
-    gtk_widget_modify_style(m_widget, style);
-}
-
-
 #endif // wxUSE_CONTROLS