]>
Commit | Line | Data |
---|---|---|
9ed0d735 VS |
1 | ///////////////////////////////////////////////////////////////////////////// |
2 | // Name: wrapwin.h | |
3 | // Purpose: Wrapper around <windows.h>, to be included instead of it | |
2f552802 | 4 | // Author: Vaclav Slavik |
9ed0d735 VS |
5 | // Created: 2003/07/22 |
6 | // RCS-ID: $Id$ | |
2f552802 | 7 | // Copyright: (c) 2003 Vaclav Slavik |
9ed0d735 VS |
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 | |
2f552802 | 21 | // of installed DLLs at runtime anyway unless the user really doesn't want it |
9ed0d735 VS |
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) || \ | |
2f552802 VZ |
27 | defined(__DIGITALMARS__) && \ |
28 | !wxCHECK_W32API_VERSION(1,1) | |
29 | #define _WIN32_IE 0x300 | |
9ed0d735 | 30 | #else |
2f552802 VZ |
31 | // highest known value at the time of this writing (Windows Server 2003) |
32 | #define _WIN32_IE 0x502 | |
9ed0d735 | 33 | #endif |
2f552802 | 34 | #endif // !defined(_WIN32_IE) |
9ed0d735 VS |
35 | |
36 | #include <windows.h> | |
37 | #include "wx/msw/winundef.h" | |
38 | ||
2f552802 VZ |
39 | #endif // _WX_WRAPWIN_H_ |
40 |