use wxString, not wxChar*, in wxDataFormat ctor and SetId() method

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46254 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Václav Slavík
2007-05-30 22:02:19 +00:00
parent b9b8b59c0d
commit a1eb65c246
16 changed files with 25 additions and 63 deletions

View File

@@ -21,7 +21,6 @@ public:
wxDataFormat();
wxDataFormat( wxDataFormatId type );
wxDataFormat( const wxString &id );
wxDataFormat( const wxChar *id );
wxDataFormat( NativeFormat format );
wxDataFormat& operator=(const wxDataFormat& format)
@@ -50,7 +49,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;