]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/msw/chkconf.h
blind fix for GCC compilation when #pragmas are honored
[wxWidgets.git] / include / wx / msw / chkconf.h
index c6765eb50bef982dd3dd6ebbc070279ebc6b7533..31ded4713bbc022b0329cee7f3dc23530d4baef7 100644 (file)
 #define wxUSE_CHECKLISTBOX 0
 #endif
 
+#if wxUSE_SPINCTRL
+#   if !wxUSE_SPINBTN
+#       ifdef wxABORT_ON_CONFIG_ERROR
+#           error "wxSpinCtrl requires wxSpinButton on MSW"
+#       else
+#           undef wxUSE_SPINBTN
+#           define wxUSE_SPINBTN 1
+#       endif
+#   endif
+#endif
+
 #if defined(__BORLANDC__) && (__BORLANDC__ < 0x500)
 /* BC++ 4.0 can't compile JPEG library */
 #undef wxUSE_LIBJPEG