X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/968eb2ef396c78442ffea7a2463f3777ca6d1632..5b464d6bbd088e122bca53f2a4a4ce1f09378de4:/include/wx/x11/dataform.h diff --git a/include/wx/x11/dataform.h b/include/wx/x11/dataform.h index 0e6fed774f..56a956093f 100644 --- a/include/wx/x11/dataform.h +++ b/include/wx/x11/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;