]> git.saurik.com Git - wxWidgets.git/blobdiff - src/gtk/spinbutt.cpp
Made tearoff menus work for gtk :-)
[wxWidgets.git] / src / gtk / spinbutt.cpp
index 7b3b20428351ed2f6f98c418f9d32920f235ff2b..66f5af6bc3f61173df9c126c4690cc69a8ad7b3f 100644 (file)
@@ -13,6 +13,9 @@
 #endif
 
 #include "wx/spinbutt.h"
+
+#ifdef wxUSE_SPINBTN
+
 #include "wx/utils.h"
 #include <math.h>
 
@@ -208,3 +211,5 @@ wxSpinEvent::wxSpinEvent(wxEventType commandType, int id):
   wxScrollEvent(commandType, id)
 {
 }
+
+#endif
\ No newline at end of file