From 051aa330fe60ecd17d77a92993f61bf3e05862f6 Mon Sep 17 00:00:00 2001 From: Vadim Zeitlin Date: Fri, 16 Jul 2004 17:17:51 +0000 Subject: [PATCH] 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 --- docs/changes.txt | 1 + include/wx/string.h | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/docs/changes.txt b/docs/changes.txt index 16716878af..127b778e20 100644 --- a/docs/changes.txt +++ b/docs/changes.txt @@ -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() diff --git a/include/wx/string.h b/include/wx/string.h index 1cf0b61485..2daf622c90 100644 --- a/include/wx/string.h +++ b/include/wx/string.h @@ -690,7 +690,7 @@ public: // from wxCharBuffer wxString(const wxCharBuffer& psz) - : wxStringBase(psz, npos) { } + : wxStringBase(psz) { } #endif // Unicode/ANSI // generic attributes & operations -- 2.47.2