From 543ad8984bec81a92fe3045967cbc04ccdf13e62 Mon Sep 17 00:00:00 2001 From: Vadim Zeitlin Date: Sun, 6 Feb 2005 01:31:26 +0000 Subject: [PATCH] ensure that _WIN32_IE is defined to max value before including commctrl.h, otherwise we don't get support for 32bit spin button range even if the headers have it git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31774 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- src/msw/spinbutt.cpp | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) diff --git a/src/msw/spinbutt.cpp b/src/msw/spinbutt.cpp index 605f715637..09b3f0acc9 100644 --- a/src/msw/spinbutt.cpp +++ b/src/msw/spinbutt.cpp @@ -39,13 +39,8 @@ IMPLEMENT_DYNAMIC_CLASS(wxSpinEvent, wxNotifyEvent) -#if defined(__WIN95__) - #include "wx/msw/private.h" - -#if defined(__WIN95__) && !(defined(__GNUWIN32_OLD__) && !defined(__CYGWIN10__)) - #include -#endif +#include "wx/msw/wrapcctl.h" // ============================================================================ // implementation @@ -319,6 +314,4 @@ bool wxSpinButton::MSWCommand(WXUINT WXUNUSED(cmd), WXWORD WXUNUSED(id)) return false; } -#endif // __WIN95__ - #endif // wxUSE_SPINBTN -- 2.50.0