Include <windows.h> before including <shellapi.h>.

Although this is not needed with most compilers (including recent MinGW),
including <shellapi.h> directly apparently doesn't work with some older MinGW
versions.

This fixes compilation after the changes of r64139.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@64201 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin 2010-05-02 12:19:14 +00:00
parent 5708ae18f2
commit 8ba51e7326

View File

@ -40,6 +40,9 @@
#include "wx/dynlib.h"
#include "wx/arrimpl.cpp"
// some compilers require including <windows.h> before <shellapi.h> so do it
// even if this is not necessary with most of them
#include "wx/msw/wrapwin.h"
#include <shellapi.h>
#include <shlobj.h>
#include "wx/msw/missing.h"