fixed fatal bug in wxString ctor from wxCharBuffer when wxUSE_STL==1

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28260 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin
2004-07-16 17:17:51 +00:00
parent 5cb598ae20
commit 051aa330fe
2 changed files with 2 additions and 1 deletions

View File

@@ -690,7 +690,7 @@ public:
// from wxCharBuffer
wxString(const wxCharBuffer& psz)
: wxStringBase(psz, npos) { }
: wxStringBase(psz) { }
#endif // Unicode/ANSI
// generic attributes & operations