]> git.saurik.com Git - wxWidgets.git/blame_incremental - src/common/dndcmn.cpp
fix typo in r57455 which totally broke modal dialogs display (close #10291)
[wxWidgets.git] / src / common / dndcmn.cpp
... / ...
CommitLineData
1///////////////////////////////////////////////////////////////////////////////
2// Name: 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
25bool wxIsDragResultOk(wxDragResult res)
26{
27 return res == wxDragCopy || res == wxDragMove || res == wxDragLink;
28}
29
30#endif
31