]> git.saurik.com Git - wxWidgets.git/blob - src/os2/dnd.cpp
added bitmaps to menu items
[wxWidgets.git] / src / os2 / dnd.cpp
1 ///////////////////////////////////////////////////////////////////////////////
2 // Name: dnd.cpp
3 // Purpose: wxDropTarget, wxDropSource, wxDataObject implementation
4 // Author: David Webster
5 // Modified by:
6 // Created: 10/21/99
7 // RCS-ID: $Id$
8 // Copyright: (c) 1998 AUTHOR
9 // Licence: wxWindows licence
10 ///////////////////////////////////////////////////////////////////////////////
11
12 #ifdef __GNUG__
13 #pragma implementation "dnd.h"
14 #endif
15
16 #define INCL_PM
17 #define INCL_DOS
18 #include <os2.h>
19 #include "wx/window.h"
20 #include "wx/app.h"
21 #include "wx/gdicmn.h"
22 #include "wx/dnd.h"
23
24 // ----------------------------------------------------------------------------
25 // global
26 // ----------------------------------------------------------------------------
27
28 // ----------------------------------------------------------------------------
29 // wxDropTarget
30 // ----------------------------------------------------------------------------
31
32 wxDropTarget::wxDropTarget(
33 wxDataObject* pDataObject
34 )
35 {
36 // TODO:
37 };
38
39 wxDropTarget::~wxDropTarget()
40 {
41 };
42
43 void wxDropTarget::Register(
44 WXHWND hwnd
45 )
46 {
47 //TODO:
48 };
49
50 void wxDropTarget::Revoke(
51 WXHWND hwnd
52 )
53 {
54 //TODO:
55 };
56
57 wxDragResult wxDropTarget::OnDragOver(
58 wxCoord x
59 , wxCoord y
60 , wxDragResult vDef
61 )
62 {
63 //TODO:
64 return vDef;
65 };
66
67 bool wxDropTarget::OnDrop(
68 wxCoord x
69 , wxCoord y
70 )
71 {
72 //TODO:
73 return FALSE;
74 };
75
76 wxDragResult wxDropTarget::OnData(
77 wxCoord x
78 , wxCoord y
79 , wxDragResult vResult
80 )
81 {
82 //TODO:
83 return (wxDragResult)0;
84 };
85
86 bool wxDropTarget::GetData()
87 {
88 //TODO:
89 return FALSE;
90 };
91
92 bool wxDropTarget::IsAcceptable(
93 DRAGINFO* pInfo
94 )
95 {
96 //TODO:
97 return FALSE;
98 };
99
100 //-------------------------------------------------------------------------
101 // wxDropSource
102 //-------------------------------------------------------------------------
103
104 wxDropSource::wxDropSource(
105 wxWindow* pWin
106 )
107 {
108 // TODO
109 };
110
111 wxDropSource::wxDropSource(
112 wxDataObject& rData
113 , wxWindow* pWin
114 )
115 {
116 // TODO
117 };
118
119 wxDropSource::~wxDropSource()
120 {
121 // TODO
122 };
123
124 wxDragResult wxDropSource::DoDragDrop(
125 bool WXUNUSED(bAllowMove)
126 )
127 {
128 // TODO
129 return wxDragError;
130 };
131
132 void wxDropSource::Init()
133 {
134 // TODO
135 };
136