Don't include <initguid.h> too soon, as this affects the headers included
after it instead of just our own uses of DEFINE_GUID() as intended.
This resulted in link errors because of duplicate definitions of the many
standard GUIDs when using MinGW for which we include, for whatever reason,
shlguid.h.
This fixes the change of r67573.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@74600
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775
#include "wx/textcompleter.h"
#include "wx/dynlib.h"
#include "wx/textcompleter.h"
#include "wx/dynlib.h"
#include "wx/msw/private.h"
#if wxUSE_UXTHEME
#include "wx/msw/private.h"
#if wxUSE_UXTHEME
#define SHACF_FILESYS_DIRS 0x00000020
#endif
#define SHACF_FILESYS_DIRS 0x00000020
#endif
+// This must be the last header included to only affect the DEFINE_GUID()
+// occurrences below but not any GUIDs declared in the standard files included
+// above.
+#include <initguid.h>
+