// Author: Vadim Zeitlin
// Modified by:
// Created: 10.05.98
-// RCS-ID: $Id$
// Copyright: (c) 1998 Vadim Zeitlin <zeitlin@dptmaths.ens-cachan.fr>
// Licence: wxWindows licence
///////////////////////////////////////////////////////////////////////////////
#pragma hdrstop
#endif
+#if wxUSE_OLE && wxUSE_DRAG_AND_DROP
+
#ifndef WX_PRECOMP
#include "wx/window.h"
+ #include "wx/log.h"
#endif
-#if wxUSE_OLE && wxUSE_DRAG_AND_DROP
-
-#include "wx/log.h"
#include "wx/dnd.h"
#include "wx/msw/private.h"
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)
+ wxDECLARE_NO_COPY_CLASS(wxIDropSource);
};
// ============================================================================
bool wxDropSource::GiveFeedback(wxDragResult effect)
{
const wxCursor& cursor = GetCursor(effect);
- if ( cursor.Ok() )
+ if ( cursor.IsOk() )
{
::SetCursor((HCURSOR)cursor.GetHCURSOR());
}
}
-#endif //USE_DRAG_AND_DROP
+#endif // wxUSE_OLE && wxUSE_DRAG_AND_DROP