]> git.saurik.com Git - wxWidgets.git/blob - src/common/dndcmn.cpp
use common bottleneck
[wxWidgets.git] / src / common / dndcmn.cpp
1 ///////////////////////////////////////////////////////////////////////////////
2 // Name: src/common/dndcmn.cpp
3 // Author: Robert Roebling
4 // Modified by:
5 // Created: 19.10.99
6 // RCS-ID: $Id$
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
25 bool wxIsDragResultOk(wxDragResult res)
26 {
27 return res == wxDragCopy || res == wxDragMove || res == wxDragLink;
28 }
29
30 #endif
31