X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/77c8787c164beb31e6a0eafbd3215bc377af6946..0f5378d414cb68caaa535199c1af12dec1720c3d:/src/common/dndcmn.cpp?ds=inline 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 +