]> git.saurik.com Git - wxWidgets.git/blobdiff - src/os2/spinbutt.cpp
renamed wxDynamicThisCast to wxDynamicCastThis, removed 1st parameter, and documented
[wxWidgets.git] / src / os2 / spinbutt.cpp
index 9ad28c1b3ac8a3362198f99a1174a48a8836a422..99e5852636d1ec34bd7e8fac10887f800cbd4fe9 100644 (file)
@@ -21,6 +21,7 @@
 #ifndef WX_PRECOMP
     #include "wx/wx.h"
 #endif
 #ifndef WX_PRECOMP
     #include "wx/wx.h"
 #endif
+#if wxUSE_SPINBTN
 
 // Can't resolve reference to CreateUpDownControl in
 // TWIN32, but could probably use normal CreateWindow instead.
 
 // Can't resolve reference to CreateUpDownControl in
 // TWIN32, but could probably use normal CreateWindow instead.
@@ -159,3 +160,4 @@ bool wxSpinButton::OS2Command(WXUINT cmd, WXWORD id)
     return FALSE;
 }
 
     return FALSE;
 }
 
+#endif //wxUSE_SPINBTN