X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/a7b4607f4a4c20352a5ac2c094a6293f05f9dc95..40e8ee374f4be8108096e953333eaf45b3f743ed:/src/msw/ole/dropsrc.cpp diff --git a/src/msw/ole/dropsrc.cpp b/src/msw/ole/dropsrc.cpp index fee89b633f..e9f543c59b 100644 --- a/src/msw/ole/dropsrc.cpp +++ b/src/msw/ole/dropsrc.cpp @@ -6,7 +6,7 @@ // Created: 10.05.98 // RCS-ID: $Id$ // Copyright: (c) 1998 Vadim Zeitlin -// Licence: wxWindows license +// Licence: wxWindows licence /////////////////////////////////////////////////////////////////////////////// // ============================================================================ @@ -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 @@ -241,11 +241,11 @@ bool wxDropSource::GiveFeedback(wxDragResult effect) { ::SetCursor((HCURSOR)cursor.GetHCURSOR()); - return TRUE; + return true; } else { - return FALSE; + return false; } }