X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/977ea6b6bfaa9ce2793e5ccfc82b611849b33553..a8519f6507f7b4389c0fe7dbae4ebd63120d5dd0:/include/wx/cocoa/dataform.h diff --git a/include/wx/cocoa/dataform.h b/include/wx/cocoa/dataform.h index e4f915905a..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* pId); + void SetId(const wxString& WXUNUSED(pId)) { /* TODO */ } private: unsigned int m_uFormat;