]> git.saurik.com Git - wxWidgets.git/commitdiff
(blind) compilation fix for GTK+ 1.x after last commit
authorVadim Zeitlin <vadim@wxwidgets.org>
Sun, 4 Jul 2004 11:11:39 +0000 (11:11 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Sun, 4 Jul 2004 11:11:39 +0000 (11:11 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28160 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/gtk/statbox.cpp
src/gtk1/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
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