Tentative compilation fix for wxMSW with MinGW after STL changes.

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
This commit is contained in:
Vadim Zeitlin 2011-03-31 09:37:59 +00:00
parent 6e793355df
commit cdcc1edaf2

View 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
{