///////////////////////////////////////////////////////////////////////////////
-// Name: common/dndcmn.cpp
+// Name: src/common/dndcmn.cpp
// Author: Robert Roebling
// Modified by:
// Created: 19.10.99
// RCS-ID: $Id$
-// Copyright: (c) wxWindows Team
+// Copyright: (c) wxWidgets Team
// Licence: wxWindows licence
///////////////////////////////////////////////////////////////////////////////
// headers
// ----------------------------------------------------------------------------
-#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA)
- #pragma implementation "dndbase.h"
-#endif
-
#include "wx/wxprec.h"
#ifdef __BORLANDC__
#include "wx/dnd.h"
-// Not much to do here, really, but GNU need this file.
+#if wxUSE_DRAG_AND_DROP
+
+bool wxIsDragResultOk(wxDragResult res)
+{
+ return res == wxDragCopy || res == wxDragMove || res == wxDragLink;
+}
+
+#endif
+