]>
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"
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 wxDragResult
wxDropTarget::OnData(
87 , wxDragResult vResult
91 return (wxDragResult
)0;
94 bool wxDropTarget::GetData()
100 bool wxDropTarget::IsAcceptable(
108 // ----------------------------------------------------------------------------
110 // ----------------------------------------------------------------------------
112 wxTextDropTarget::~wxTextDropTarget()
117 bool wxTextDropTarget::OnData(
126 // ----------------------------------------------------------------------------
128 // ----------------------------------------------------------------------------
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()