X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/77ffb5937e89927b621128789401db8921fe580f..72ac4e888aff9b766216f96cc090b051a7f52188:/include/wx/cocoa/dataform.h diff --git a/include/wx/cocoa/dataform.h b/include/wx/cocoa/dataform.h index fd0cc7791d..285a13913e 100644 --- a/include/wx/cocoa/dataform.h +++ b/include/wx/cocoa/dataform.h @@ -6,7 +6,7 @@ // Created: 2003/07/23 // RCS-ID: $Id$ // Copyright: (c) 2003 David Elliott -// Licence: wxWidgets licence +// Licence: wxWindows licence /////////////////////////////////////////////////////////////////////////////// #ifndef __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;