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:
@@ -20,7 +20,6 @@ public:
|
||||
wxDataFormat();
|
||||
wxDataFormat(wxDataFormatId vType);
|
||||
wxDataFormat(const wxString& rId);
|
||||
wxDataFormat(const wxChar* pId);
|
||||
wxDataFormat(NativeFormat vFormat);
|
||||
|
||||
wxDataFormat& operator=(NativeFormat vFormat)
|
||||
@@ -46,7 +45,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* pId);
|
||||
void SetId(const wxString& pId);
|
||||
|
||||
// implementation
|
||||
wxDataFormatId GetType() const { return m_type; }
|
||||
|
Reference in New Issue
Block a user