// headers
// ----------------------------------------------------------------------------
-#ifdef __GNUG__
+#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA)
#pragma implementation "oleutils.h"
#endif
#ifndef __CYGWIN10__
-#include <windows.h>
+#include "wx/msw/private.h"
+
+#ifdef __WXWINCE__
+ #include <winreg.h>
+ #include <ole2.h>
+
+ #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)
}
}
+#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)