]> git.saurik.com Git - wxWidgets.git/blobdiff - src/gtk/statbox.cpp
Made tearoff menus work for gtk :-)
[wxWidgets.git] / src / gtk / statbox.cpp
index d1c978b2ef4de609ba58bf6e40b8ca3817c61a1e..84fd9673ffdb062ef414a56c3d7b72173f728d18 100644 (file)
@@ -13,6 +13,8 @@
 
 #include "wx/statbox.h"
 
+#if wxUSE_STATBOX
+
 #include "gdk/gdk.h"
 #include "gtk/gtk.h"
 
@@ -72,3 +74,5 @@ void wxStaticBox::ApplyWidgetStyle()
     SetWidgetStyle();
     gtk_widget_set_style( m_widget, m_widgetStyle );
 }
+
+#endif