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"
18 #include "wx/window.h"
20 #include "wx/gdicmn.h"
23 // ----------------------------------------------------------------------------
25 // ----------------------------------------------------------------------------
27 // ----------------------------------------------------------------------------
29 // ----------------------------------------------------------------------------
31 wxDropTarget
::wxDropTarget(
32 wxDataObject
* pDataObject
38 wxDropTarget
::~wxDropTarget()
42 void wxDropTarget
::Register(
49 void wxDropTarget
::Revoke(
56 wxDragResult wxDropTarget
::OnDragOver(
66 bool wxDropTarget
::OnDrop(
75 bool wxDropTarget
::OnData(
84 bool wxDropTarget
::GetData()
90 bool wxDropTarget
::IsAcceptable(
98 // ----------------------------------------------------------------------------
100 // ----------------------------------------------------------------------------
102 wxTextDropTarget
::wxTextDropTarget()
107 wxTextDropTarget
::~wxTextDropTarget()
112 bool wxTextDropTarget
::OnData(
121 // ----------------------------------------------------------------------------
123 // ----------------------------------------------------------------------------
125 wxFileDropTarget
::wxFileDropTarget()
130 wxFileDropTarget
::~wxFileDropTarget()
135 bool wxFileDropTarget
::OnData(
144 //-------------------------------------------------------------------------
146 //-------------------------------------------------------------------------
148 wxDropSource
::wxDropSource(
155 wxDropSource
::wxDropSource(
163 wxDropSource
::~wxDropSource()
168 wxDragResult wxDropSource
::DoDragDrop(
169 bool WXUNUSED(bAllowMove
)
176 void wxDropSource
::Init()