]>
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 wxDragResult
wxDropTarget::OnData(
78 , wxDragResult vResult
82 return (wxDragResult
)0;
85 bool wxDropTarget::GetData()
91 bool wxDropTarget::IsAcceptable(
99 //-------------------------------------------------------------------------
101 //-------------------------------------------------------------------------
103 wxDropSource::wxDropSource(
110 wxDropSource::wxDropSource(
118 wxDropSource::~wxDropSource()
123 wxDragResult
wxDropSource::DoDragDrop(
124 bool WXUNUSED(bAllowMove
)
131 void wxDropSource::Init()