X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/925f7740663f38ed8296ddb247754a9d62152aea..1f0acb435592470b421b80df854fbbb08cd2853f:/include/wx/motif/dataform.h?ds=sidebyside 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;