Include <shlobj.h> before our wx/msw/missing.h, otherwise many things were
redefined.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@73345
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775
#ifdef __WINDOWS__
#include "wx/msw/private.h"
#ifdef __WINDOWS__
#include "wx/msw/private.h"
+ #include <shlobj.h> // for CLSID_ShellLink
#include "wx/msw/missing.h"
#endif
#include "wx/msw/missing.h"
#endif
// quotation marks."
#if defined(__WIN32__) && !defined(__WXWINCE__) && wxUSE_OLE
// quotation marks."
#if defined(__WIN32__) && !defined(__WXWINCE__) && wxUSE_OLE
-// The following lines are necessary under WinCE
-// #include "wx/msw/private.h"
-// #include <ole2.h>
-#include <shlobj.h>
-#if defined(__WXWINCE__)
-#include <shlguid.h>
-#endif
bool wxFileName::GetShortcutTarget(const wxString& shortcutPath,
wxString& targetFilename,
bool wxFileName::GetShortcutTarget(const wxString& shortcutPath,
wxString& targetFilename,