From: Vadim Zeitlin Date: Thu, 9 Mar 2006 14:04:41 +0000 (+0000) Subject: define UDM_{SETRANGE|SETPOS|GETPOS}32 if we don't have them in the headers to allow... X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/0aed40087460f9424a6d948282ffa4cb5c798cc6?ds=inline define UDM_{SETRANGE|SETPOS|GETPOS}32 if we don't have them in the headers to allow using full 32bit range even for older compilers/SDK (patch 1439887) git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37936 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/src/msw/spinbutt.cpp b/src/msw/spinbutt.cpp index 84da743327..a41c23f59c 100644 --- a/src/msw/spinbutt.cpp +++ b/src/msw/spinbutt.cpp @@ -37,6 +37,15 @@ IMPLEMENT_DYNAMIC_CLASS(wxSpinEvent, wxNotifyEvent) #include "wx/msw/private.h" #include "wx/msw/wrapcctl.h" +#ifndef UDM_SETRANGE32 + #define UDM_SETRANGE32 (WM_USER+111) +#endif + +#ifndef UDM_SETPOS32 + #define UDM_SETPOS32 (WM_USER+113) + #define UDM_GETPOS32 (WM_USER+114) +#endif + // ============================================================================ // implementation // ============================================================================