X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/e75491071dbefcada61175e3eb89ce4edf335983..1d54b9d29706dbb43de5624bdf4a2aaa74b2350b:/include/wx/os2/dataobj.h diff --git a/include/wx/os2/dataobj.h b/include/wx/os2/dataobj.h index 148b637c77..15488112c8 100644 --- a/include/wx/os2/dataobj.h +++ b/include/wx/os2/dataobj.h @@ -1,12 +1,12 @@ /////////////////////////////////////////////////////////////////////////////// // Name: mac/dataobj.h // Purpose: declaration of the wxDataObject -// Author: Stefan Csomor +// Author: Stefan Csomor // Modified by: // Created: 10/21/99 // RCS-ID: $Id$ // Copyright: (c) 1998, 1999 Vadim Zeitlin, Robert Roebling -// Licence: wxWindows license +// Licence: wxWindows licence /////////////////////////////////////////////////////////////////////////////// #ifndef _WX_MAC_DATAOBJ_H_ @@ -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_