X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/3bfbab1e836246cda3fdbb436ebb22a72c6986de..f00f657d37e530c55d5e98fac2477b477a6f1d36:/src/os2/spinbutt.cpp diff --git a/src/os2/spinbutt.cpp b/src/os2/spinbutt.cpp index 9ad28c1b3a..99e5852636 100644 --- a/src/os2/spinbutt.cpp +++ b/src/os2/spinbutt.cpp @@ -21,6 +21,7 @@ #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. @@ -159,3 +160,4 @@ bool wxSpinButton::OS2Command(WXUINT cmd, WXWORD id) return FALSE; } +#endif //wxUSE_SPINBTN