]> git.saurik.com Git - wxWidgets.git/commitdiff
Tentative compilation fix for wxMSW with MinGW after STL changes.
authorVadim Zeitlin <vadim@wxwidgets.org>
Thu, 31 Mar 2011 09:37:59 +0000 (09:37 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Thu, 31 Mar 2011 09:37:59 +0000 (09:37 +0000)
Include wx/stack.h, which includes the standard <stack> header, before
<windows.h> as the latter redefines min and max as macros conflicting with the
standard headers.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@67358 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/msw/graphics.cpp

index 05bc7d863b4b9fa70a18edd06cce90f47b1743ec..3ea411303c59602d50feef56e6530d5ca1b6a9d6 100644 (file)
@@ -37,6 +37,8 @@
     #include "wx/dcprint.h"
 #endif
 
+#include "wx/stack.h"
+
 #include "wx/private/graphics.h"
 #include "wx/msw/wrapgdip.h"
 #include "wx/msw/dc.h"
@@ -51,8 +53,6 @@
 #include <commdlg.h>
 #endif
 
-#include "wx/stack.h"
-
 namespace
 {