// 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__
- #pragma implementation "dropsrc.h"
-#endif
-
// For compilers that support precompilation, includes "wx.h".
#include "wx/wxprec.h"
#include "wx/log.h"
#include "wx/dnd.h"
-#include <windows.h>
+#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 <ole2.h>
#endif
{
public:
wxIDropSource(wxDropSource *pDropSource);
+ virtual ~wxIDropSource() { }
DECLARE_IUNKNOWN_METHODS;
DWORD m_grfInitKeyState; // button which started the d&d operation
wxDropSource *m_pDropSource; // pointer to C++ class we belong to
- DECLARE_NO_COPY_CLASS(wxIDropSource)
+ DECLARE_NO_COPY_CLASS(wxIDropSource)
};
// ============================================================================
{
::SetCursor((HCURSOR)cursor.GetHCURSOR());
- return TRUE;
+ return true;
}
else
{
- return FALSE;
+ return false;
}
}