]> git.saurik.com Git - wxWidgets.git/blobdiff - src/msw/ole/oleutils.cpp
applied the bit's of #473508 that were still relevant, and fixed a couple of
[wxWidgets.git] / src / msw / ole / oleutils.cpp
index 55e74c6c45f6ec60b4f3525c39ccba09d3a82697..2a23ca80859a89cd448e3db290a516f7c246d4c3 100644 (file)
 #include  "wx/setup.h"
 #include  "wx/log.h"
 
+#if wxUSE_OLE
+
+#ifndef __CYGWIN10__
+
 #include <windows.h>
 
 // OLE
@@ -208,3 +212,10 @@ void wxLogRelease(const char *szInterface, ULONG cRef)
 
 #endif
   // wxUSE_DRAG_AND_DROP
+
+#endif
+  // __CYGWIN10__
+
+#endif
+  // wxUSE_OLE
+