X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/223d09f6b523aac674ef9b72a883dfa8d37c5d4e..dc1efb1d9f4e4ce7d8f889dad3aaab7026b73058:/include/wx/buffer.h diff --git a/include/wx/buffer.h b/include/wx/buffer.h index b91a6cfc78..9f9eb174b7 100644 --- a/include/wx/buffer.h +++ b/include/wx/buffer.h @@ -70,7 +70,7 @@ public: 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); }