wxWidgets/tests/strings
Vadim Zeitlin 69d31e3130 Output the extracted number from wxString::ToXXX() even if it returns false.
After the changes in r50710 wxString numeric conversion functions didn't
update their output parameter any more if the conversion failed because not
entire string was converted. This was incompatible with the old behaviour
which some existing code did rely on, so restore it and now always return the
number which was extracted from the beginning of the string if we found
anything at all, even if the function returns false.

Add unit test for the correct behaviour and updated the documentation.

Closes #11126.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@61786 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-08-30 17:25:19 +00:00
..
crt.cpp Globally replace _T() with wxT(). 2009-07-23 20:30:22 +00:00
iostream.cpp don't compile the test in the build configurations where it's not supported (trying to fix buildbot OS X build) 2008-05-30 21:59:24 +00:00
stdstrings.cpp Globally replace _T() with wxT(). 2009-07-23 20:30:22 +00:00
strings.cpp Output the extracted number from wxString::ToXXX() even if it returns false. 2009-08-30 17:25:19 +00:00
tokenizer.cpp Globally replace _T() with wxT(). 2009-07-23 20:30:22 +00:00
unichar.cpp Globally replace _T() with wxT(). 2009-07-23 20:30:22 +00:00
unicode.cpp Globally replace _T() with wxT(). 2009-07-23 20:30:22 +00:00
vararg.cpp Globally replace _T() with wxT(). 2009-07-23 20:30:22 +00:00
vsnprintf.cpp Globally replace _T() with wxT(). 2009-07-23 20:30:22 +00:00