]> git.saurik.com Git - wxWidgets.git/blame - src/os2/dnd.cpp
VTK wrapper of vtkRenderWindow for wxPython. Tested on MSW so far.
[wxWidgets.git] / src / os2 / dnd.cpp
CommitLineData
0e320a79
DW
1///////////////////////////////////////////////////////////////////////////////
2// Name: dnd.cpp
3// Purpose: wxDropTarget, wxDropSource, wxDataObject implementation
6dddc146 4// Author: David Webster
0e320a79 5// Modified by:
6dddc146 6// Created: 10/21/99
0e320a79
DW
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
e6ebb514
DW
16#define INCL_PM
17#include <os2.h>
0e320a79
DW
18#include "wx/window.h"
19#include "wx/app.h"
20#include "wx/gdicmn.h"
e6ebb514 21#include "wx/dnd.h"
0e320a79
DW
22
23// ----------------------------------------------------------------------------
24// global
25// ----------------------------------------------------------------------------
26
27// ----------------------------------------------------------------------------
28// wxDropTarget
29// ----------------------------------------------------------------------------
30
6dddc146
DW
31wxDropTarget::wxDropTarget(
32 wxDataObject* pDataObject
33)
0e320a79 34{
6dddc146 35 // TODO:
0e320a79
DW
36};
37
38wxDropTarget::~wxDropTarget()
39{
40};
41
6dddc146
DW
42void wxDropTarget::Register(
43 WXHWND hwnd
44)
45{
46 //TODO:
47};
0e320a79 48
6dddc146
DW
49void wxDropTarget::Revoke(
50 WXHWND hwnd
51)
0e320a79 52{
6dddc146 53 //TODO:
0e320a79
DW
54};
55
6dddc146
DW
56wxDragResult wxDropTarget::OnDragOver(
57 wxCoord x
58, wxCoord y
59, wxDragResult vDef
60)
0e320a79 61{
6dddc146
DW
62 //TODO:
63 return vDef;
0e320a79
DW
64};
65
6dddc146
DW
66bool wxDropTarget::OnDrop(
67 wxCoord x
68, wxCoord y
69)
0e320a79 70{
6dddc146
DW
71 //TODO:
72 return FALSE;
73};
0e320a79 74
004fd0c8
DW
75wxDragResult wxDropTarget::OnData(
76 wxCoord x
77, wxCoord y
78, wxDragResult vResult
79)
80{
81 //TODO:
82 return (wxDragResult)0;
83};
84
6dddc146
DW
85bool wxDropTarget::GetData()
86{
87 //TODO:
88 return FALSE;
89};
90
91bool wxDropTarget::IsAcceptable(
92 DRAGINFO* pInfo
93)
94{
95 //TODO:
96 return FALSE;
97};
0e320a79 98
0e320a79
DW
99//-------------------------------------------------------------------------
100// wxDropSource
101//-------------------------------------------------------------------------
102
6dddc146
DW
103wxDropSource::wxDropSource(
104 wxWindow* pWin
105)
0e320a79
DW
106{
107 // TODO
0e320a79
DW
108};
109
6dddc146
DW
110wxDropSource::wxDropSource(
111 wxDataObject& rData
112, wxWindow* pWin
113)
0e320a79
DW
114{
115 // TODO
0e320a79
DW
116};
117
6dddc146 118wxDropSource::~wxDropSource()
0e320a79 119{
6dddc146 120 // TODO
0e320a79
DW
121};
122
6dddc146
DW
123wxDragResult wxDropSource::DoDragDrop(
124 bool WXUNUSED(bAllowMove)
125)
0e320a79 126{
6dddc146
DW
127 // TODO
128 return wxDragError;
0e320a79 129};
6dddc146
DW
130
131void wxDropSource::Init()
0e320a79
DW
132{
133 // TODO
0e320a79
DW
134};
135