]> git.saurik.com Git - wxWidgets.git/blame - include/wx/x11/dataobj.h
Moved the cleanup code to an EVT_WINDOW_DESTROY handler.
[wxWidgets.git] / include / wx / x11 / dataobj.h
CommitLineData
83df96d6
JS
1///////////////////////////////////////////////////////////////////////////////
2// Name: wx/motif/dataobj.h
3// Purpose: declaration of the wxDataObject class for Motif
4// Author: Julian Smart
5// RCS-ID: $Id$
9691c806 6// Copyright: (c) 1998 Robert Roebling
83df96d6
JS
7// Licence: wxWindows licence
8///////////////////////////////////////////////////////////////////////////////
9
9691c806
RR
10#ifndef _WX_X11_DATAOBJ_H_
11#define _WX_X11_DATAOBJ_H_
83df96d6
JS
12
13#ifdef __GNUG__
14#pragma interface "dataobj.h"
15#endif
16
17// ----------------------------------------------------------------------------
18// wxDataObject is the same as wxDataObjectBase under wxMotif
19// ----------------------------------------------------------------------------
20
21class wxDataObject : public wxDataObjectBase
22{
23public:
9691c806
RR
24 wxDataObject();
25
83df96d6
JS
26#ifdef __DARWIN__
27 ~wxDataObject() { }
28#endif
9691c806
RR
29
30 virtual bool IsSupportedFormat( const wxDataFormat& format, Direction dir = Get ) const;
83df96d6
JS
31};
32
9691c806 33#endif //_WX_X11_DATAOBJ_H_
83df96d6 34