X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/655719367ac5e131d9642e5783f3ecf64d1a3385..9869c26285dc51d13607cddaa04f65ce983653a5:/include/wx/cocoa/dataform.h?ds=sidebyside diff --git a/include/wx/cocoa/dataform.h b/include/wx/cocoa/dataform.h index 17b95ee4a8..870ddb0470 100644 --- a/include/wx/cocoa/dataform.h +++ b/include/wx/cocoa/dataform.h @@ -4,7 +4,6 @@ // Author: David Elliott // Modified by: // Created: 2003/07/23 -// RCS-ID: $Id$ // Copyright: (c) 2003 David Elliott // Licence: wxWindows licence /////////////////////////////////////////////////////////////////////////////// @@ -16,7 +15,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 +41,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;