X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/77ffb5937e89927b621128789401db8921fe580f..63e2147c8b027645682e0e4cd013a3f30bbd3483:/include/wx/msw/wrapwin.h diff --git a/include/wx/msw/wrapwin.h b/include/wx/msw/wrapwin.h index 5cd923c50c..a9a927d839 100644 --- a/include/wx/msw/wrapwin.h +++ b/include/wx/msw/wrapwin.h @@ -5,7 +5,7 @@ // Created: 2003/07/22 // RCS-ID: $Id$ // Copyright: (c) 2003 Vaclav Slavik -// Licence: wxWidgets licence +// Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// #ifndef _WX_WRAPWIN_H_ @@ -17,6 +17,11 @@ #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 #ifdef __WXWINCE__