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"
17 #include "wx/window.h"
19 #include "wx/gdicmn.h"
21 // ----------------------------------------------------------------------------
23 // ----------------------------------------------------------------------------
25 // ----------------------------------------------------------------------------
27 // ----------------------------------------------------------------------------
29 wxDropTarget
::wxDropTarget(
30 wxDataObject
* pDataObject
36 wxDropTarget
::~wxDropTarget()
40 void wxDropTarget
::Register(
47 void wxDropTarget
::Revoke(
54 wxDragResult wxDropTarget
::OnDragOver(
64 bool wxDropTarget
::OnDrop(
73 bool wxDropTarget
::OnData(
82 bool wxDropTarget
::GetData()
88 bool wxDropTarget
::IsAcceptable(
96 // ----------------------------------------------------------------------------
98 // ----------------------------------------------------------------------------
100 wxTextDropTarget
::wxTextDropTarget()
105 wxTextDropTarget
::~wxTextDropTarget()
110 bool wxTextDropTarget
::OnData(
119 // ----------------------------------------------------------------------------
121 // ----------------------------------------------------------------------------
123 wxFileDropTarget
::wxFileDropTarget()
128 wxFileDropTarget
::~wxFileDropTarget()
133 bool wxFileDropTarget
::OnData(
142 //-------------------------------------------------------------------------
144 //-------------------------------------------------------------------------
146 wxDropSource
::wxDropSource(
153 wxDropSource
::wxDropSource(
161 wxDropSource
::~wxDropSource()
166 wxDragResult wxDropSource
::DoDragDrop(
167 bool WXUNUSED(bAllowMove
)
174 void wxDropSource
::Init()