X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/77ffb5937e89927b621128789401db8921fe580f..c437b3f4e47b74715a2f2385d4862972babd7802:/src/common/dndcmn.cpp diff --git a/src/common/dndcmn.cpp b/src/common/dndcmn.cpp index a7570be1e8..4c43d1fb6c 100644 --- a/src/common/dndcmn.cpp +++ b/src/common/dndcmn.cpp @@ -5,17 +5,13 @@ // Created: 19.10.99 // RCS-ID: $Id$ // Copyright: (c) wxWidgets Team -// Licence: wxWidgets licence +// Licence: wxWindows licence /////////////////////////////////////////////////////////////////////////////// // ---------------------------------------------------------------------------- // headers // ---------------------------------------------------------------------------- -#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) - #pragma implementation "dndbase.h" -#endif - #include "wx/wxprec.h" #ifdef __BORLANDC__ @@ -24,4 +20,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 +