X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/77c8787c164beb31e6a0eafbd3215bc377af6946..ffb9247a85e83dcc4da631b76d0b86c0b2192676:/src/common/dndcmn.cpp?ds=sidebyside diff --git a/src/common/dndcmn.cpp b/src/common/dndcmn.cpp index 7cc7e7413a..4c43d1fb6c 100644 --- a/src/common/dndcmn.cpp +++ b/src/common/dndcmn.cpp @@ -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 +