X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/6c9a19aabab3a878b565e6c2a5f2a3824277c4dc..adb799d6ef8e1ba754ab08b26e64fa40219f95f8:/src/msw/ole/dropsrc.cpp?ds=inline diff --git a/src/msw/ole/dropsrc.cpp b/src/msw/ole/dropsrc.cpp index 45260de525..7972450bd2 100644 --- a/src/msw/ole/dropsrc.cpp +++ b/src/msw/ole/dropsrc.cpp @@ -17,7 +17,7 @@ // headers // ---------------------------------------------------------------------------- -#ifdef __GNUG__ +#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) #pragma implementation "dropsrc.h" #endif @@ -38,10 +38,10 @@ #include "wx/log.h" #include "wx/dnd.h" -#include +#include "wx/msw/private.h" // for some compilers, the entire ole2.h must be included, not only oleauto.h -#if wxUSE_NORLANDER_HEADERS || defined(__WATCOMC__) +#if wxUSE_NORLANDER_HEADERS || defined(__WATCOMC__) || defined(__WXWINCE__) #include #endif