diff --git a/src/common/string.cpp b/src/common/string.cpp index 8bab9af7d4..20c11c569a 100644 --- a/src/common/string.cpp +++ b/src/common/string.cpp @@ -968,7 +968,7 @@ wxString::wxString(const char *psz, wxMBConv& conv, size_t nLength) wxCharBuffer inBuf((const char *)NULL); if (nLength != npos) { - wxASSERT_MSG( psz != NULL ); + wxASSERT( psz != NULL ); wxCharBuffer tmp(nLength); memcpy(tmp.data(), psz, nLength); tmp.data()[nLength] = '\0'; @@ -1026,7 +1026,7 @@ wxString::wxString(const wchar_t *pwz, wxMBConv& conv, size_t nLength) wxWCharBuffer inBuf((const wchar_t *)NULL); if (nLength != npos) { - wxASSERT_MSG( pwz != NULL ); + wxASSERT( pwz != NULL ); wxWCharBuffer tmp(nLength); memcpy(tmp.data(), pwz, nLength * sizeof(wchar_t)); tmp.data()[nLength] = '\0';