This commit was manufactured by cvs2svn to create tag 'wxPy_2_5_2_7'.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/tags/wxPy_2_5_2_7@28780 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Bryan Petty
2004-08-14 00:27:21 +00:00
parent c7be1d2a3e
commit 224c8bd50d
35 changed files with 44 additions and 6693 deletions

View File

@@ -968,7 +968,6 @@ wxString::wxString(const char *psz, wxMBConv& conv, size_t nLength)
wxCharBuffer inBuf((const char *)NULL);
if (nLength != npos)
{
wxASSERT( psz != NULL );
wxCharBuffer tmp(nLength);
memcpy(tmp.data(), psz, nLength);
tmp.data()[nLength] = '\0';
@@ -1026,7 +1025,6 @@ wxString::wxString(const wchar_t *pwz, wxMBConv& conv, size_t nLength)
wxWCharBuffer inBuf((const wchar_t *)NULL);
if (nLength != npos)
{
wxASSERT( pwz != NULL );
wxWCharBuffer tmp(nLength);
memcpy(tmp.data(), pwz, nLength * sizeof(wchar_t));
tmp.data()[nLength] = '\0';