]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/msw/wrapwin.h
Fixed bug #1163384. Moved the code that handles activating the cell
[wxWidgets.git] / include / wx / msw / wrapwin.h
index 04b9d59ed33c19295b98b34b555359e890dd452a..a9a927d83969dc3f5a1c7d0dc39a1ee0421bb82b 100644 (file)
     #define STRICT 1
 #endif
 
     #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__
 #include <windows.h>
 
 #ifdef __WXWINCE__