X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/77c8787c164beb31e6a0eafbd3215bc377af6946..0a470e5ea537237f0562c3b2182ee293dec36eb3:/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 +