X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/655719367ac5e131d9642e5783f3ecf64d1a3385..d11e8786ed13b72766eea18cb577cc00f9f08f41:/include/wx/msw/wrapwin.h diff --git a/include/wx/msw/wrapwin.h b/include/wx/msw/wrapwin.h index 04b9d59ed3..a9a927d839 100644 --- a/include/wx/msw/wrapwin.h +++ b/include/wx/msw/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__