///////////////////////////////////////////////////////////////////////////////
-// Name: os2/dataobj2.h
+// Name: mac/dataobj2.h
// Purpose: declaration of standard wxDataObjectSimple-derived classes
// Author: David Webster (adapted from Robert Roebling's gtk port
// Modified by:
// Licence: wxWindows licence
///////////////////////////////////////////////////////////////////////////////
-#ifndef _WX_GTK_DATAOBJ2_H_
-#define _WX_GTK_DATAOBJ2_H_
+#ifndef _WX_MAC_DATAOBJ2_H_
+#define _WX_MAC_DATAOBJ2_H_
// ----------------------------------------------------------------------------
// wxBitmapDataObject is a specialization of wxDataObject for bitmaps
wxBitmapDataObject(const wxBitmap& bitmap);
// destr
- ~wxBitmapDataObject();
+ virtual ~wxBitmapDataObject();
// override base class virtual to update PNG data too
virtual void SetBitmap(const wxBitmap& bitmap);
// ----------------------------------
void AddFile( const wxString &filename );
-
+
virtual size_t GetDataSize() const;
virtual bool GetDataHere(void *buf) const;
virtual bool SetData(size_t len, const void *buf);
{
return SetData(len, buf);
}
+protected:
+ // translates the filenames stored into a utf8 encoded char stream
+ void GetFileNames(wxCharBuffer &buf) const ;
};
-#endif // _WX_GTK_DATAOBJ2_H_
+#endif // _WX_MAC_DATAOBJ2_H_