X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/1c85008fcf2108adfcc45021bfa74725aee03eaf..d275c7eb8420c81e97a8b308c60c27d9856b58f9:/src/os2/spinbutt.cpp diff --git a/src/os2/spinbutt.cpp b/src/os2/spinbutt.cpp index de2ccd00a9..99e5852636 100644 --- a/src/os2/spinbutt.cpp +++ b/src/os2/spinbutt.cpp @@ -21,12 +21,16 @@ #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. #include "wx/spinbutt.h" + +IMPLEMENT_DYNAMIC_CLASS(wxSpinEvent, wxNotifyEvent) + #include "wx/os2/private.h" // ============================================================================ @@ -156,3 +160,4 @@ bool wxSpinButton::OS2Command(WXUINT cmd, WXWORD id) return FALSE; } +#endif //wxUSE_SPINBTN