From cdcc1edaf27a71689a5880e5c558a6273731ef1d Mon Sep 17 00:00:00 2001 From: Vadim Zeitlin Date: Thu, 31 Mar 2011 09:37:59 +0000 Subject: [PATCH] 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 --- src/msw/graphics.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 {