Files
wxWidgets/src/common/dndcmn.cpp
Julian Smart b35c7335f1 Added DnD guard
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43664 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-26 21:50:51 +00:00

32 lines
773 B
C++

///////////////////////////////////////////////////////////////////////////////
// Name: common/dndcmn.cpp
// Author: Robert Roebling
// Modified by:
// Created: 19.10.99
// RCS-ID: $Id$
// Copyright: (c) wxWidgets Team
// Licence: wxWindows licence
///////////////////////////////////////////////////////////////////////////////
// ----------------------------------------------------------------------------
// headers
// ----------------------------------------------------------------------------
#include "wx/wxprec.h"
#ifdef __BORLANDC__
#pragma hdrstop
#endif
#include "wx/dnd.h"
#if wxUSE_DRAG_AND_DROP
bool wxIsDragResultOk(wxDragResult res)
{
return res == wxDragCopy || res == wxDragMove || res == wxDragLink;
}
#endif