// Created: 10.05.98
// RCS-ID: $Id$
// Copyright: (c) 1998 Vadim Zeitlin <zeitlin@dptmaths.ens-cachan.fr>
-// Licence: wxWindows license
+// Licence: wxWindows licence
///////////////////////////////////////////////////////////////////////////////
// ============================================================================
// headers
// ----------------------------------------------------------------------------
-#ifdef __GNUG__
+#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA)
#pragma implementation "dropsrc.h"
#endif
#include "wx/log.h"
#include "wx/dnd.h"
-#include <windows.h>
+#include "wx/msw/private.h"
-#if wxUSE_NORLANDER_HEADERS
+// for some compilers, the entire ole2.h must be included, not only oleauto.h
+#if wxUSE_NORLANDER_HEADERS || defined(__WATCOMC__) || defined(__WXWINCE__)
#include <ole2.h>
#endif
-#ifndef __WIN32__
- #include <ole2.h>
- #include <olestd.h>
-#endif
-
#include <oleauto.h>
#include "wx/msw/ole/oleutils.h"
{
::SetCursor((HCURSOR)cursor.GetHCURSOR());
- return TRUE;
+ return true;
}
else
{
- return FALSE;
+ return false;
}
}