X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/1c85008fcf2108adfcc45021bfa74725aee03eaf..328bfc22243e3d4672ddf626db4f78e4269c7275:/src/os2/spinbutt.cpp?ds=inline 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