1///////////////////////////////////////////////////////////////////////////////
2// Name:        common/dndcmn.cpp
3// Author:      Robert Roebling
4// Modified by:
5// Created:     19.10.99
6// RCS-ID:      $Id: dndcmn.cpp 43664 2006-11-26 21:50:51Z JS $
7// Copyright:   (c) wxWidgets Team
8// Licence:     wxWindows licence
9///////////////////////////////////////////////////////////////////////////////
10
11// ----------------------------------------------------------------------------
12// headers
13// ----------------------------------------------------------------------------
14
15#include "wx/wxprec.h"
16
17#ifdef __BORLANDC__
18    #pragma hdrstop
19#endif
20
21#include "wx/dnd.h"
22
23#if wxUSE_DRAG_AND_DROP
24
25bool wxIsDragResultOk(wxDragResult res)
26{
27    return res == wxDragCopy || res == wxDragMove || res == wxDragLink;
28}
29
30#endif
31
32