X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/3bfbab1e836246cda3fdbb436ebb22a72c6986de..8f974c520a8733158591891458fda10fae4c3950:/src/os2/spinbutt.cpp?ds=sidebyside 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