2003-07-15 14:52:32 -04:00
|
|
|
/////////////////////////////////////////////////////////////////////////////
|
|
|
|
// Name: wrapwin.h
|
|
|
|
// Purpose: Wrapper around <windows.h>, to be included instead of it
|
2003-07-17 05:46:49 -04:00
|
|
|
// Author: Vaclav Slavik
|
2003-07-15 14:52:32 -04:00
|
|
|
// Created: 2003/07/22
|
|
|
|
// RCS-ID: $Id$
|
2003-07-17 05:46:49 -04:00
|
|
|
// Copyright: (c) 2003 Vaclav Slavik
|
2003-07-15 14:52:32 -04:00
|
|
|
// Licence: wxWindows licence
|
|
|
|
/////////////////////////////////////////////////////////////////////////////
|
|
|
|
|
|
|
|
#ifndef _WX_WRAPWIN_H_
|
|
|
|
#define _WX_WRAPWIN_H_
|
|
|
|
|
|
|
|
#include "wx/platform.h"
|
|
|
|
|
|
|
|
#ifndef STRICT
|
|
|
|
#define STRICT 1
|
|
|
|
#endif
|
|
|
|
|
|
|
|
// define _WIN32_IE to a high value because we always check for the version
|
2003-07-17 05:46:49 -04:00
|
|
|
// of installed DLLs at runtime anyway unless the user really doesn't want it
|
2003-07-15 14:52:32 -04:00
|
|
|
#ifndef _WIN32_IE
|
|
|
|
// for compilers that use w32api headers: w32api must be >= 1.1:
|
2003-08-03 16:09:41 -04:00
|
|
|
#if (defined( __GNUWIN32__ ) || defined( __MINGW32__ ) || \
|
2003-07-15 14:52:32 -04:00
|
|
|
defined( __CYGWIN__ ) || \
|
|
|
|
(defined(__WATCOMC__) && __WATCOMC__ >= 1200) || \
|
2003-08-03 16:09:41 -04:00
|
|
|
defined(__DIGITALMARS__)) && \
|
2003-07-17 05:46:49 -04:00
|
|
|
!wxCHECK_W32API_VERSION(1,1)
|
|
|
|
#define _WIN32_IE 0x300
|
2003-07-15 14:52:32 -04:00
|
|
|
#else
|
2003-08-03 16:09:41 -04:00
|
|
|
// highest known value at the time of this writing
|
|
|
|
// (Internet Explorer 6)
|
|
|
|
#define _WIN32_IE 0x600
|
2003-07-15 14:52:32 -04:00
|
|
|
#endif
|
2003-07-17 05:46:49 -04:00
|
|
|
#endif // !defined(_WIN32_IE)
|
2003-07-15 14:52:32 -04:00
|
|
|
|
|
|
|
#include <windows.h>
|
|
|
|
#include "wx/msw/winundef.h"
|
|
|
|
|
2003-07-17 05:46:49 -04:00
|
|
|
#endif // _WX_WRAPWIN_H_
|
|
|
|
|