]>
git.saurik.com Git - wxWidgets.git/blob - src/os2/dnd.cpp
1 ///////////////////////////////////////////////////////////////////////////////
3 // Purpose: wxDropTarget, wxDropSource, wxDataObject implementation
4 // Author: David Webster
8 // Copyright: (c) 1998 AUTHOR
9 // Licence: wxWindows licence
10 ///////////////////////////////////////////////////////////////////////////////
13 #pragma implementation "dnd.h"
19 #include "wx/window.h"
21 #include "wx/gdicmn.h"
24 // ----------------------------------------------------------------------------
26 // ----------------------------------------------------------------------------
28 // ----------------------------------------------------------------------------
30 // ----------------------------------------------------------------------------
32 wxDropTarget::wxDropTarget(
33 wxDataObject
* pDataObject
39 wxDropTarget::~wxDropTarget()
43 void wxDropTarget::Register(
50 void wxDropTarget::Revoke(
57 wxDragResult
wxDropTarget::OnDragOver(
67 bool wxDropTarget::OnDrop(
76 wxDragResult
wxDropTarget::OnData(
79 , wxDragResult vResult
83 return (wxDragResult
)0;
86 bool wxDropTarget::GetData()
92 bool wxDropTarget::IsAcceptable(
100 //-------------------------------------------------------------------------
102 //-------------------------------------------------------------------------
104 wxDropSource::wxDropSource(
111 wxDropSource::wxDropSource(
119 wxDropSource::~wxDropSource()
124 wxDragResult
wxDropSource::DoDragDrop(
125 bool WXUNUSED(bAllowMove
)
132 void wxDropSource::Init()