// Purpose: wxTextEntry implementation for wxMSW
// Author: Vadim Zeitlin
// Created: 2007-09-26
-// RCS-ID: $Id$
// Copyright: (c) 2007 Vadim Zeitlin <vadim@wxwindows.org>
// Licence: wxWindows licence
///////////////////////////////////////////////////////////////////////////////
#include "wx/textcompleter.h"
#include "wx/dynlib.h"
-#include <initguid.h>
-
#include "wx/msw/private.h"
#if wxUSE_UXTHEME
#if defined(__MINGW32__) || defined (__WATCOMC__) || defined(__CYGWIN__)
// needed for IID_IAutoComplete, IID_IAutoComplete2 and ACO_AUTOSUGGEST
- #include <shlguid.h>
+ //#include <shlguid.h>
#ifndef ACO_AUTOAPPEND
#define ACO_AUTOAPPEND 0x02
#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>
+
namespace
{