Added DnD guard

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43664 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Julian Smart 2006-11-26 21:50:51 +00:00
parent 48c8439fdb
commit b35c7335f1

View File

@ -20,8 +20,12 @@
#include "wx/dnd.h" #include "wx/dnd.h"
#if wxUSE_DRAG_AND_DROP
bool wxIsDragResultOk(wxDragResult res) bool wxIsDragResultOk(wxDragResult res)
{ {
return res == wxDragCopy || res == wxDragMove || res == wxDragLink; return res == wxDragCopy || res == wxDragMove || res == wxDragLink;
} }
#endif