]> git.saurik.com Git - wxWidgets.git/blobdiff - src/common/dndcmn.cpp
Do not use Tooltips if they are disabled
[wxWidgets.git] / src / common / dndcmn.cpp
index 7cc7e7413a4b2986997d6e62e53a897d26cbf65e..4c43d1fb6ce992e5cbbc4eb18d097849569543da 100644 (file)
 
 #include "wx/dnd.h"
 
+#if wxUSE_DRAG_AND_DROP
+
 bool wxIsDragResultOk(wxDragResult res)
 {
     return res == wxDragCopy || res == wxDragMove || res == wxDragLink;
 }
 
+#endif
+