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