X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/655719367ac5e131d9642e5783f3ecf64d1a3385..c80d4c1e207b0011db61cb2ce1cc8babe8e54582:/src/common/dndcmn.cpp diff --git a/src/common/dndcmn.cpp b/src/common/dndcmn.cpp index 18cef9cf80..5bd9e13454 100644 --- a/src/common/dndcmn.cpp +++ b/src/common/dndcmn.cpp @@ -1,9 +1,8 @@ /////////////////////////////////////////////////////////////////////////////// -// Name: common/dndcmn.cpp +// Name: src/common/dndcmn.cpp // Author: Robert Roebling // Modified by: // Created: 19.10.99 -// RCS-ID: $Id$ // Copyright: (c) wxWidgets Team // Licence: wxWindows licence /////////////////////////////////////////////////////////////////////////////// @@ -12,10 +11,6 @@ // headers // ---------------------------------------------------------------------------- -#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) - #pragma implementation "dndbase.h" -#endif - #include "wx/wxprec.h" #ifdef __BORLANDC__ @@ -24,4 +19,12 @@ #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 +