X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/ba14d9861d043d53cc53ea70a2fab4146f7be9f3..567be1875494c4cb90a3bdff691f8545e4f6e41d:/src/msw/ole/oleutils.cpp?ds=inline diff --git a/src/msw/ole/oleutils.cpp b/src/msw/ole/oleutils.cpp index 6a68095f7d..c54de1c5d9 100644 --- a/src/msw/ole/oleutils.cpp +++ b/src/msw/ole/oleutils.cpp @@ -6,7 +6,7 @@ // Created: 19.02.98 // RCS-ID: $Id$ // Copyright: (c) 1998 Vadim Zeitlin -// Licence: wxWindows license +// Licence: wxWindows licence /////////////////////////////////////////////////////////////////////////////// // ============================================================================ @@ -35,10 +35,21 @@ #ifndef __CYGWIN10__ -#include +#include "wx/msw/private.h" + +#ifdef __WXWINCE__ + #include + #include + + #define GUID_DEFINED + #define UUID_DEFINED +#endif // OLE +#ifndef __WXWINCE__ #include "wx/msw/ole/uuid.h" +#endif + #include "wx/msw/ole/oleutils.h" #if defined(__VISUALC__) && (__VISUALC__ > 1000) @@ -60,7 +71,7 @@ bool IsIidFromList(REFIID riid, const IID *aIids[], size_t nCount) return FALSE; } -#if wxUSE_DRAG_AND_DROP +#if wxUSE_DATAOBJ // ---------------------------------------------------------------------------- // Debug support @@ -169,9 +180,13 @@ static wxString GetIidName(REFIID riid) } } +#ifndef __WXWINCE__ // unknown IID, just transform to string Uuid uuid(riid); return wxString((const wxChar *)uuid); +#else + return wxEmptyString; +#endif } void wxLogQueryInterface(const wxChar *szInterface, REFIID riid)