///////////////////////////////////////////////////////////////////////////////
-// Name: common/dndcmn.cpp
+// Name: src/common/dndcmn.cpp
// Author: Robert Roebling
// Modified by:
// Created: 19.10.99
#include "wx/dnd.h"
+#if wxUSE_DRAG_AND_DROP
+
bool wxIsDragResultOk(wxDragResult res)
{
return res == wxDragCopy || res == wxDragMove || res == wxDragLink;
}
+#endif
+