]> git.saurik.com Git - wxWidgets.git/blobdiff - src/common/dndcmn.cpp
add XRC handler for wxSearchCtrl (extended patch 1751516)
[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
+