X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/6dddc146fbea484558c02c18ea8250549329c70e..478cde3220641d49cfbd492e799107d13ccdfeb3:/include/wx/os2/dataobj.h diff --git a/include/wx/os2/dataobj.h b/include/wx/os2/dataobj.h index 2f6ed49da5..15488112c8 100644 --- a/include/wx/os2/dataobj.h +++ b/include/wx/os2/dataobj.h @@ -1,16 +1,16 @@ /////////////////////////////////////////////////////////////////////////////// -// Name: os2/dataobj.h +// Name: mac/dataobj.h // Purpose: declaration of the wxDataObject -// Author: David Webster (adapted from Robert Roebling's gtk port) +// 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_GTK_DATAOBJ_H_ -#define _WX_GTK_DATAOBJ_H_ +#ifndef _WX_MAC_DATAOBJ_H_ +#define _WX_MAC_DATAOBJ_H_ #ifdef __GNUG__ #pragma interface "dataobj.h" @@ -24,9 +24,21 @@ 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_GTK_DATAOBJ_H_ +#endif // _WX_MAC_DATAOBJ_H_