X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/925f7740663f38ed8296ddb247754a9d62152aea..75ded4d17344618afd302a0671f1277791ee17ed:/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;