]> git.saurik.com Git - wxWidgets.git/blob - include/wx/msw/wrapwin.h
Update to Scintilla 1.53
[wxWidgets.git] / include / wx / msw / wrapwin.h
1 /////////////////////////////////////////////////////////////////////////////
2 // Name: wrapwin.h
3 // Purpose: Wrapper around <windows.h>, to be included instead of it
4 // Author: Vaclav Slavik
5 // Created: 2003/07/22
6 // RCS-ID: $Id$
7 // Copyright: (c) 2003 Vaclav Slavik
8 // Licence: wxWindows licence
9 /////////////////////////////////////////////////////////////////////////////
10
11 #ifndef _WX_WRAPWIN_H_
12 #define _WX_WRAPWIN_H_
13
14 #include "wx/platform.h"
15
16 #ifndef STRICT
17 #define STRICT 1
18 #endif
19
20 // define _WIN32_IE to a high value because we always check for the version
21 // of installed DLLs at runtime anyway unless the user really doesn't want it
22 #ifndef _WIN32_IE
23 // for compilers that use w32api headers: w32api must be >= 1.1:
24 #if defined( __GNUWIN32__ ) || defined( __MINGW32__ ) || \
25 defined( __CYGWIN__ ) || \
26 (defined(__WATCOMC__) && __WATCOMC__ >= 1200) || \
27 defined(__DIGITALMARS__) && \
28 !wxCHECK_W32API_VERSION(1,1)
29 #define _WIN32_IE 0x300
30 #else
31 // highest known value at the time of this writing (Windows Server 2003)
32 #define _WIN32_IE 0x502
33 #endif
34 #endif // !defined(_WIN32_IE)
35
36 #include <windows.h>
37 #include "wx/msw/winundef.h"
38
39 #endif // _WX_WRAPWIN_H_
40