]> git.saurik.com Git - wxWidgets.git/commitdiff
Added DnD guard
authorJulian Smart <julian@anthemion.co.uk>
Sun, 26 Nov 2006 21:50:51 +0000 (21:50 +0000)
committerJulian Smart <julian@anthemion.co.uk>
Sun, 26 Nov 2006 21:50:51 +0000 (21:50 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43664 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

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
+