From b35c7335f1d0cdad38fce37c72348c4be6c73f52 Mon Sep 17 00:00:00 2001 From: Julian Smart Date: Sun, 26 Nov 2006 21:50:51 +0000 Subject: [PATCH] Added DnD guard git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43664 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- src/common/dndcmn.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/common/dndcmn.cpp b/src/common/dndcmn.cpp index 7cc7e7413a..4c43d1fb6c 100644 --- a/src/common/dndcmn.cpp +++ b/src/common/dndcmn.cpp @@ -20,8 +20,12 @@ #include "wx/dnd.h" +#if wxUSE_DRAG_AND_DROP + bool wxIsDragResultOk(wxDragResult res) { return res == wxDragCopy || res == wxDragMove || res == wxDragLink; } +#endif + -- 2.50.0