wxWidgets/tests/strings
Vadim Zeitlin 556a836e0f Don't cache incorrect length in wxString::assign(char*, size_t).
The length of the string here is specified in bytes and is not the same as the
string length for non-ASCII UTF-8 strings, so don't cache it as the string
length.

Just invalidate the cached length instead as we simply don't know what the
real length of the string is going to be.

See #14130.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@70987 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-03-23 15:13:13 +00:00
..
crt.cpp No code changes, fixed some typos. 2011-04-30 10:57:04 +00:00
iostream.cpp No code changes, fixed some typos. 2011-04-30 10:57:04 +00:00
numformatter.cpp No code changes, fixed some typos. 2011-04-30 10:57:04 +00:00
stdstrings.cpp No code changes, fixed some typos. 2011-04-30 10:57:04 +00:00
strings.cpp Don't cache incorrect length in wxString::assign(char*, size_t). 2012-03-23 15:13:13 +00:00
tokenizer.cpp No code changes, fixed some typos. 2011-04-30 10:57:04 +00:00
unichar.cpp No code changes, fixed some typos. 2011-04-30 10:57:04 +00:00
unicode.cpp No code changes, fixed some typos. 2011-04-30 10:57:04 +00:00
vararg.cpp Use __WINDOWS__ for OS checks and __WXMSW__ for GUI checks (round 2). 2012-03-04 20:31:42 +00:00
vsnprintf.cpp Use __WINDOWS__ for OS checks and __WXMSW__ for GUI checks (round 2). 2012-03-04 20:31:42 +00:00