X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/655719367ac5e131d9642e5783f3ecf64d1a3385..12b5f4b4d2d8a07962da7ba3b78c8c1ec2634a67:/src/common/dndcmn.cpp?ds=sidebyside diff --git a/src/common/dndcmn.cpp b/src/common/dndcmn.cpp index 18cef9cf80..4c43d1fb6c 100644 --- a/src/common/dndcmn.cpp +++ b/src/common/dndcmn.cpp @@ -12,10 +12,6 @@ // 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 +