// Created: 2003/07/22
// RCS-ID: $Id$
// Copyright: (c) 2003 Vaclav Slavik
-// Licence: wxWidgets licence
+// Licence: wxWindows licence
/////////////////////////////////////////////////////////////////////////////
#ifndef _WX_WRAPWIN_H_
#define STRICT 1
#endif
+// don't define min() and max() as macros, they conflict with standard C++ ones
+#ifndef NOMINMAX
+ #define NOMINMAX
+#endif // NOMINMAX
+
#include <windows.h>
#ifdef __WXWINCE__
// with newer SDK headers
#if !defined(__WIN64__) && !defined(__WXWINCE__)
#define UINT_PTR unsigned int
+ #define LONG_PTR long
#define ULONG_PTR unsigned long
#define DWORD_PTR unsigned long
#endif // !__WIN64__