X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/8907154c1a8a6882c6797d1f16393ddfb23e7f3a..3f8cdda4851796e5f5f5bcd82d9e867a30581a6f:/src/common/dndcmn.cpp?ds=sidebyside

diff --git a/src/common/dndcmn.cpp b/src/common/dndcmn.cpp
index b13ba86d34..4c43d1fb6c 100644
--- a/src/common/dndcmn.cpp
+++ b/src/common/dndcmn.cpp
@@ -20,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
+