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
This commit is contained in:
parent
cdec37ac77
commit
543ad8984b
@ -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 <commctrl.h>
|
||||
#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
|
||||
|
Loading…
Reference in New Issue
Block a user