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