]> git.saurik.com Git - wxWidgets.git/blob - include/wx/os2/dataobj.h
added wxBitmap::UseAlpha()
[wxWidgets.git] / include / wx / os2 / dataobj.h
1 ///////////////////////////////////////////////////////////////////////////////
2 // Name: mac/dataobj.h
3 // Purpose: declaration of the wxDataObject
4 // Author: Stefan Csomor
5 // Modified by:
6 // Created: 10/21/99
7 // RCS-ID: $Id$
8 // Copyright: (c) 1998, 1999 Vadim Zeitlin, Robert Roebling
9 // Licence: wxWindows licence
10 ///////////////////////////////////////////////////////////////////////////////
11
12 #ifndef _WX_MAC_DATAOBJ_H_
13 #define _WX_MAC_DATAOBJ_H_
14
15 #ifdef __GNUG__
16 #pragma interface "dataobj.h"
17 #endif
18
19 // ----------------------------------------------------------------------------
20 // wxDataObject is the same as wxDataObjectBase under wxGTK
21 // ----------------------------------------------------------------------------
22
23 class wxDataObject : public wxDataObjectBase
24 {
25 public:
26 wxDataObject();
27 virtual ~wxDataObject();
28
29 virtual bool IsSupportedFormat( const wxDataFormat& eFormat
30 ,Direction eDir = Get
31 ) const
32 {
33 return(IsSupported( eFormat
34 ,eDir
35 ));
36 }
37
38 PDRAGITEM GetInterface(void) const {return m_pDataObject;}
39 private:
40 PDRAGITEM m_pDataObject;
41 };
42
43 #endif // _WX_MAC_DATAOBJ_H_
44