X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/ac3c86ee7ddab0a1a5f025fb98ce9b992db84623..79099b80ad442cb93b2f7df716bf3d1dd80b446f:/include/wx/string.h?ds=sidebyside diff --git a/include/wx/string.h b/include/wx/string.h index 2ae0085719..2daf622c90 100644 --- a/include/wx/string.h +++ b/include/wx/string.h @@ -675,8 +675,6 @@ public: #if wxUSE_UNICODE // from multibyte string - // (NB: nLength is right now number of Unicode characters, not - // characters in psz! So try not to use it yet!) wxString(const char *psz, wxMBConv& conv, size_t nLength = npos); // from wxWCharBuffer (i.e. return from wxGetString) wxString(const wxWCharBuffer& psz) : wxStringBase(psz.data()) { } @@ -692,7 +690,7 @@ public: // from wxCharBuffer wxString(const wxCharBuffer& psz) - : wxStringBase(psz, npos) { } + : wxStringBase(psz) { } #endif // Unicode/ANSI // generic attributes & operations