]>
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 #if wxUSE_DRAG_AND_DROP
26 // ----------------------------------------------------------------------------
28 // ----------------------------------------------------------------------------
30 // ----------------------------------------------------------------------------
32 // ----------------------------------------------------------------------------
34 wxDropTarget::wxDropTarget(
35 wxDataObject
* pDataObject
41 wxDropTarget::~wxDropTarget()
45 void wxDropTarget::Register(
52 void wxDropTarget::Revoke(
59 wxDragResult
wxDropTarget::OnDragOver(
69 bool wxDropTarget::OnDrop(
78 wxDragResult
wxDropTarget::OnData(
81 , wxDragResult vResult
85 return (wxDragResult
)0;
88 bool wxDropTarget::GetData()
94 bool wxDropTarget::IsAcceptable(
102 //-------------------------------------------------------------------------
104 //-------------------------------------------------------------------------
106 wxDropSource::wxDropSource(
113 wxDropSource::wxDropSource(
121 wxDropSource::~wxDropSource()
126 wxDragResult
wxDropSource::DoDragDrop(
127 bool WXUNUSED(bAllowMove
)
134 void wxDropSource::Init()
139 #endif //wxUSE_DRAG_AND_DROP