X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/e90c1d2a19361551eb07778280f22be3e759cf64..ad115b2d656d79790b41b88d6dd578f0e624612c:/include/wx/buffer.h diff --git a/include/wx/buffer.h b/include/wx/buffer.h index feb1c3c33f..9f9eb174b7 100644 --- a/include/wx/buffer.h +++ b/include/wx/buffer.h @@ -28,7 +28,7 @@ class wxCharBuffer public: wxCharBuffer(const char *str) { - wxASSERT_MSG( str, T("NULL string in wxCharBuffer") ); + wxASSERT_MSG( str, wxT("NULL string in wxCharBuffer") ); m_str = str ? strdup(str) : (char *)NULL; } @@ -67,10 +67,10 @@ class wxWCharBuffer public: wxWCharBuffer(const wchar_t *wcs) { - wxASSERT_MSG( wcs, T("NULL string in wxWCharBuffer") ); + wxASSERT_MSG( wcs, wxT("NULL string in wxWCharBuffer") ); if (wcs) { - size_t siz = (wcslen(wcs)+1)*sizeof(wchar_t); + size_t siz = (::wcslen(wcs)+1)*sizeof(wchar_t); m_wcs = (wchar_t *)malloc(siz); memcpy(m_wcs, wcs, siz); }