From: Vadim Zeitlin Date: Thu, 31 Mar 2011 09:37:59 +0000 (+0000) Subject: Tentative compilation fix for wxMSW with MinGW after STL changes. X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/cdcc1edaf27a71689a5880e5c558a6273731ef1d Tentative compilation fix for wxMSW with MinGW after STL changes. Include wx/stack.h, which includes the standard header, before 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 --- diff --git a/src/msw/graphics.cpp b/src/msw/graphics.cpp index 05bc7d863b..3ea411303c 100644 --- a/src/msw/graphics.cpp +++ b/src/msw/graphics.cpp @@ -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 #endif -#include "wx/stack.h" - namespace {