]> git.saurik.com Git - wxWidgets.git/blobdiff - src/gtk/statbox.cpp
avoid unimplemented wx stubs being used
[wxWidgets.git] / src / gtk / statbox.cpp
index d6c4bc496d49c5f515f889f047aa18ace131316d..d057ebbd4c92da5668ae7a6cfa65b585db59970a 100644 (file)
@@ -94,7 +94,9 @@ 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