]> git.saurik.com Git - wxWidgets.git/blame - src/common/dndcmn.cpp
wxMessageBox off the main thread lost result code.
[wxWidgets.git] / src / common / dndcmn.cpp
CommitLineData
510fc784 1///////////////////////////////////////////////////////////////////////////////
80fdcdb9 2// Name: src/common/dndcmn.cpp
510fc784
RR
3// Author: Robert Roebling
4// Modified by:
5// Created: 19.10.99
77ffb593 6// Copyright: (c) wxWidgets Team
65571936 7// Licence: wxWindows licence
510fc784
RR
8///////////////////////////////////////////////////////////////////////////////
9
10// ----------------------------------------------------------------------------
11// headers
12// ----------------------------------------------------------------------------
13
510fc784
RR
14#include "wx/wxprec.h"
15
16#ifdef __BORLANDC__
17 #pragma hdrstop
18#endif
19
20#include "wx/dnd.h"
21
b35c7335
JS
22#if wxUSE_DRAG_AND_DROP
23
77c8787c
VZ
24bool wxIsDragResultOk(wxDragResult res)
25{
26 return res == wxDragCopy || res == wxDragMove || res == wxDragLink;
27}
28
b35c7335
JS
29#endif
30