]>
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: | |
185448a8 | 24 | #if (defined( __GNUWIN32__ ) || defined( __MINGW32__ ) || \ |
9ed0d735 VS |
25 | defined( __CYGWIN__ ) || \ |
26 | (defined(__WATCOMC__) && __WATCOMC__ >= 1200) || \ | |
185448a8 | 27 | defined(__DIGITALMARS__)) && \ |
2f552802 VZ |
28 | !wxCHECK_W32API_VERSION(1,1) |
29 | #define _WIN32_IE 0x300 | |
9ed0d735 | 30 | #else |
185448a8 MB |
31 | // highest known value at the time of this writing |
32 | // (Internet Explorer 6) | |
33 | #define _WIN32_IE 0x600 | |
9ed0d735 | 34 | #endif |
2f552802 | 35 | #endif // !defined(_WIN32_IE) |
9ed0d735 VS |
36 | |
37 | #include <windows.h> | |
38 | #include "wx/msw/winundef.h" | |
39 | ||
2f552802 VZ |
40 | #endif // _WX_WRAPWIN_H_ |
41 |