]> git.saurik.com Git - wxWidgets.git/blame - include/wx/os2/dataobj.h
Applied patch [ 1218833 ] [wxMSW] wxListBox optimisation for XP
[wxWidgets.git] / include / wx / os2 / dataobj.h
CommitLineData
6dddc146 1///////////////////////////////////////////////////////////////////////////////
e7549107 2// Name: mac/dataobj.h
6dddc146 3// Purpose: declaration of the wxDataObject
4fd899b6 4// Author: Stefan Csomor
6dddc146
DW
5// Modified by:
6// Created: 10/21/99
7// RCS-ID: $Id$
8// Copyright: (c) 1998, 1999 Vadim Zeitlin, Robert Roebling
65571936 9// Licence: wxWindows licence
6dddc146
DW
10///////////////////////////////////////////////////////////////////////////////
11
e7549107
SC
12#ifndef _WX_MAC_DATAOBJ_H_
13#define _WX_MAC_DATAOBJ_H_
6dddc146
DW
14
15#ifdef __GNUG__
16 #pragma interface "dataobj.h"
17#endif
18
19// ----------------------------------------------------------------------------
20// wxDataObject is the same as wxDataObjectBase under wxGTK
21// ----------------------------------------------------------------------------
22
23class wxDataObject : public wxDataObjectBase
24{
25public:
26 wxDataObject();
4fd899b6 27 virtual ~wxDataObject();
6dddc146 28
4fd899b6
DW
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;}
39private:
40 PDRAGITEM m_pDataObject;
6dddc146
DW
41};
42
e7549107 43#endif // _WX_MAC_DATAOBJ_H_
6dddc146 44