X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/fe161a2685012cf90bb5bfe95f2260aee71d8ad7..0bd3b8eca1d6ef2749797f34216493fce0edd8d6:/src/gtk/statbox.cpp diff --git a/src/gtk/statbox.cpp b/src/gtk/statbox.cpp index 9d489265d8..d057ebbd4c 100644 --- a/src/gtk/statbox.cpp +++ b/src/gtk/statbox.cpp @@ -89,7 +89,14 @@ void wxStaticBox::SetLabel( const wxString &label ) gtk_frame_set_label( GTK_FRAME( m_widget ), m_label.empty() ? (char *)NULL : (const char*) wxGTK_CONV( m_label ) ); - PostSetLabel(); +} + +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