]> git.saurik.com Git - wxWidgets.git/blobdiff - src/common/dndcmn.cpp
Add missing WXK constants for the control keys
[wxWidgets.git] / src / common / dndcmn.cpp
index b13ba86d34c7b9c821bff00c3a2ead9212fd2f70..cdc3a67fe2eb8c3724bc016d1b80cc9c504e2342 100644 (file)
@@ -1,5 +1,5 @@
 ///////////////////////////////////////////////////////////////////////////////
-// Name:        common/dndcmn.cpp
+// Name:        src/common/dndcmn.cpp
 // Author:      Robert Roebling
 // Modified by:
 // Created:     19.10.99
 
 #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
+