X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/510fc784c0c7002488bcaad881901176554f7c32..f239a20092359e3c914adb79bd39f3f5d2b2e06f:/src/common/dndcmn.cpp diff --git a/src/common/dndcmn.cpp b/src/common/dndcmn.cpp index 9982565683..cdc3a67fe2 100644 --- a/src/common/dndcmn.cpp +++ b/src/common/dndcmn.cpp @@ -1,21 +1,17 @@ /////////////////////////////////////////////////////////////////////////////// -// 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 -// Licence: wxWindows license +// Copyright: (c) wxWidgets Team +// Licence: wxWindows licence /////////////////////////////////////////////////////////////////////////////// // ---------------------------------------------------------------------------- // headers // ---------------------------------------------------------------------------- -#ifdef __GNUG__ - #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 +