X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/2ac400737a3963d3feb547c62f58abf653652c4e..9d52aad39a4e3b52c5baa50b9cc55caaf91bb026:/include/wx/cocoa/dataform.h diff --git a/include/wx/cocoa/dataform.h b/include/wx/cocoa/dataform.h index 17b95ee4a8..285a13913e 100644 --- a/include/wx/cocoa/dataform.h +++ b/include/wx/cocoa/dataform.h @@ -16,7 +16,7 @@ class wxDataFormat { public: wxDataFormat(unsigned int uFormat = wxDF_INVALID) { m_uFormat = uFormat; } - wxDataFormat(const wxChar* zFormat) { SetId(zFormat); } + wxDataFormat(const wxString& zFormat) { SetId(zFormat); } wxDataFormat& operator=(unsigned int uFormat) { m_uFormat = uFormat; return(*this); } wxDataFormat& operator=(const wxDataFormat& rFormat) {m_uFormat = rFormat.m_uFormat; return(*this); } @@ -42,7 +42,7 @@ public: // application-specific formats // wxString GetId(void) const; - void SetId(const wxChar* WXUNUSED(pId)) { /* TODO */ } + void SetId(const wxString& WXUNUSED(pId)) { /* TODO */ } private: unsigned int m_uFormat;