]> git.saurik.com Git - wxWidgets.git/blobdiff - src/gtk/statbox.cpp
fix a loading bug - set size if movie is passed into ctor
[wxWidgets.git] / src / gtk / statbox.cpp
index 9d489265d8f5fb291d620add559eb12d6473af5d..d057ebbd4c92da5668ae7a6cfa65b585db59970a 100644 (file)
@@ -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