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