X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/77c8787c164beb31e6a0eafbd3215bc377af6946..f239a20092359e3c914adb79bd39f3f5d2b2e06f:/src/common/dndcmn.cpp diff --git a/src/common/dndcmn.cpp b/src/common/dndcmn.cpp index 7cc7e7413a..cdc3a67fe2 100644 --- a/src/common/dndcmn.cpp +++ b/src/common/dndcmn.cpp @@ -1,5 +1,5 @@ /////////////////////////////////////////////////////////////////////////////// -// Name: common/dndcmn.cpp +// Name: src/common/dndcmn.cpp // Author: Robert Roebling // Modified by: // Created: 19.10.99 @@ -20,8 +20,12 @@ #include "wx/dnd.h" +#if wxUSE_DRAG_AND_DROP + bool wxIsDragResultOk(wxDragResult res) { return res == wxDragCopy || res == wxDragMove || res == wxDragLink; } +#endif +