X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/77ffb5937e89927b621128789401db8921fe580f..333e57d578e9e0fb6555452b5a53698ffd85ee69:/include/wx/os2/dataform.h diff --git a/include/wx/os2/dataform.h b/include/wx/os2/dataform.h index c58ec935be..b28d059403 100644 --- a/include/wx/os2/dataform.h +++ b/include/wx/os2/dataform.h @@ -6,7 +6,7 @@ // Created: 10/21/99 // RCS-ID: $Id$ // Copyright: (c) 1999 Stefan Csomor -// Licence: wxWidgets licence +// Licence: wxWindows licence /////////////////////////////////////////////////////////////////////////////// #ifndef _WX_OS2_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& pId); private: unsigned int m_uFormat;