X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/6474416b2ec2a63ebc28548733d93bbe5aded70d..7b9da2077d0975db6c965a85c91d5aca671ab5e3:/src/msw/spinbutt.cpp diff --git a/src/msw/spinbutt.cpp b/src/msw/spinbutt.cpp index 51a32f9814..b443d1b062 100644 --- a/src/msw/spinbutt.cpp +++ b/src/msw/spinbutt.cpp @@ -35,6 +35,8 @@ // Can't resolve reference to CreateUpDownControl in // TWIN32, but could probably use normal CreateWindow instead. +#if wxUSE_SPINBTN + #if defined(__WIN95__) && !defined(__TWIN32__) #include "wx/spinbutt.h" @@ -240,3 +242,7 @@ bool wxSpinButton::MSWCommand(WXUINT cmd, WXWORD id) } #endif // __WIN95__ + +#endif + // wxUSE_SPINCTN +