]> git.saurik.com Git - wxWidgets.git/blobdiff - src/os2/spinctrl.cpp
replaced wxYield() call in PopupMenu() by a much safer wxYieldForCommandsOnly() ...
[wxWidgets.git] / src / os2 / spinctrl.cpp
index edfa2468f36426c9b63d8811b558ca613c220dd0..aa6b5bf2d85bf16b7926a6722398d32c8e7aa680 100644 (file)
@@ -31,6 +31,8 @@
     #include "wx/wx.h"
 #endif
 
+#if wxUSE_SPINBTN
+
 #include "wx/spinctrl.h"
 #include "wx/os2/private.h"
 
@@ -292,3 +294,5 @@ void wxSpinCtrl::DoMoveWindow(int x, int y, int width, int height)
     }
 */
 }
+
+#endif //wxUSE_SPINBTN
\ No newline at end of file