X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/925f7740663f38ed8296ddb247754a9d62152aea..13d843f1c15fe721f03d933c600cd5ca62944003:/include/wx/motif/dataform.h diff --git a/include/wx/motif/dataform.h b/include/wx/motif/dataform.h index 2487376ab3..314eaf5b68 100644 --- a/include/wx/motif/dataform.h +++ b/include/wx/motif/dataform.h @@ -21,7 +21,6 @@ public: wxDataFormat(); wxDataFormat( wxDataFormatId type ); wxDataFormat( const wxString &id ); - wxDataFormat( const wxChar *id ); wxDataFormat( NativeFormat format ); wxDataFormat& operator=(NativeFormat format) @@ -48,7 +47,7 @@ public: // 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;