X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/c0e6c0513862fc9a33e5800526058193b7492d8b..30ee79f7e95dc4903b4d17c66b947761c574dfd8:/src/gtk/statbox.cpp diff --git a/src/gtk/statbox.cpp b/src/gtk/statbox.cpp index 7c3eb9678e..d057ebbd4c 100644 --- a/src/gtk/statbox.cpp +++ b/src/gtk/statbox.cpp @@ -91,6 +91,14 @@ void wxStaticBox::SetLabel( const wxString &label ) m_label.empty() ? (char *)NULL : (const char*) wxGTK_CONV( m_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 wxVisualAttributes wxStaticBox::GetClassDefaultAttributes(wxWindowVariant WXUNUSED(variant))