X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/3bfbab1e836246cda3fdbb436ebb22a72c6986de..625cb8c0b1ac12f26265cae2c69d7f510de0edb1:/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