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

@ -116,6 +116,7 @@ All:
- number of fixes to wxPluginManager (Rick Brice, Hans Van Leemputten)
- fixed memory leak in wxURL when using a proxy (Steven Van Ingelgem)
- fixed bug in wxDateTime::Set(jdn) when DST was in effect
- fixed fatal bug in wxString when wxUSE_STL==1 (Kurt Granroth)
- support msgids in charsets other than C and languages other than English
(based on patch by Stefan Kowski)
- added wxMicroSleep() and wxMilliSleep() replacing deprecated wxUsleep()

View File

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