X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/c0ae383ac0259784656dfcac94125eb4576fecee..4fd899b671b25d3671e3fceb1b59f8edd9113af9:/include/wx/os2/dataobj.h diff --git a/include/wx/os2/dataobj.h b/include/wx/os2/dataobj.h index 148b637c77..865e45a7a8 100644 --- a/include/wx/os2/dataobj.h +++ b/include/wx/os2/dataobj.h @@ -1,7 +1,7 @@ /////////////////////////////////////////////////////////////////////////////// // Name: mac/dataobj.h // Purpose: declaration of the wxDataObject -// Author: Stefan Csomor +// Author: Stefan Csomor // Modified by: // Created: 10/21/99 // RCS-ID: $Id$ @@ -24,8 +24,20 @@ class wxDataObject : public wxDataObjectBase { public: wxDataObject(); + virtual ~wxDataObject(); - virtual bool IsSupportedFormat( const wxDataFormat& format, Direction dir = Get ) const; + virtual bool IsSupportedFormat( const wxDataFormat& eFormat + ,Direction eDir = Get + ) const + { + return(IsSupported( eFormat + ,eDir + )); + } + + PDRAGITEM GetInterface(void) const {return m_pDataObject;} +private: + PDRAGITEM m_pDataObject; }; #endif // _WX_MAC_DATAOBJ_H_