#ifndef _WX_X11_DATAFORM_H
#define _WX_X11_DATAFORM_H
-class wxDataFormat
+class WXDLLIMPEXP_CORE wxDataFormat
{
public:
// the clipboard formats under Xt are Atoms
wxDataFormat();
wxDataFormat( wxDataFormatId type );
wxDataFormat( const wxString &id );
- wxDataFormat( const wxChar *id );
wxDataFormat( NativeFormat format );
wxDataFormat& operator=(NativeFormat format)
// string ids are used for custom types - this SetId() must be used for
// application-specific formats
wxString GetId() const;
- void SetId( const wxChar *id );
+ void SetId( const wxString& id );
// implementation
wxDataFormatId GetType() const;