]> git.saurik.com Git - wxWidgets.git/blobdiff - src/common/dndcmn.cpp
some (blind) compilation fixes after wxString/Unicode changes
[wxWidgets.git] / src / common / dndcmn.cpp
index b13ba86d34c7b9c821bff00c3a2ead9212fd2f70..4c43d1fb6ce992e5cbbc4eb18d097849569543da 100644 (file)
 
 #include "wx/dnd.h"
 
 
 #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
+