]> git.saurik.com Git - wxWidgets.git/blob - src/common/dndcmn.cpp
Return NULL from wxWindow::GetCapture() when the capture is being lost.
[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 // Copyright: (c) wxWidgets Team
7 // Licence: wxWindows licence
8 ///////////////////////////////////////////////////////////////////////////////
9
10 // ----------------------------------------------------------------------------
11 // headers
12 // ----------------------------------------------------------------------------
13
14 #include "wx/wxprec.h"
15
16 #ifdef __BORLANDC__
17 #pragma hdrstop
18 #endif
19
20 #include "wx/dnd.h"
21
22 #if wxUSE_DRAG_AND_DROP
23
24 bool wxIsDragResultOk(wxDragResult res)
25 {
26 return res == wxDragCopy || res == wxDragMove || res == wxDragLink;
27 }
28
29 #endif
30