X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/36b77970eba668fc3f2658e1d823b7c821a1ca17..dbe31039f7ee6169d80386fd75a9f03316f8d261:/docs/changes.txt diff --git a/docs/changes.txt b/docs/changes.txt index e088b7ed12..b3ced8fea4 100644 --- a/docs/changes.txt +++ b/docs/changes.txt @@ -33,6 +33,15 @@ changes: wxString, in many cases code using it won't compile any more and NULL should be replaced with an empty string. +- Functions returning "const wxChar *" were changed as well. Mostly they now + return wxString which is then transparently convertible to either "const char + *" or "const wchar_t *" but in some cases, notably wxDateTime::ParseXXX(), + the returned string could be NULL and so a separate helper class is used. If + you obtain compilation errors because of this, you can always correct them by + explicitly assigning the function return value to a variable of wanted type. + A slightly more intrusive but better solution is to use ParseXXX() version + with wxString::const_iterator output parameter which simply returns bool to + indicate the parsing success. - Some structure fields which used to be of type "const wxChar *" (such as wxCmdLineEntryDesc::shortName, longName and description fields) are now of @@ -376,6 +385,8 @@ All: - Optimize wxString::Replace() to use an O(N) algorithm (Kuang-che Wu). - Added support of %l format specifier to wxDateTime::ParseFormat(). - wxImage handlers can now support multiple extensions (Ivan Krestinin). +- Added wxFileName::StripExtension() (troelsk). +- Added wxLOCALE_DATE/TIME_FMT support to wxLocale::GetInfo(). All (Unix): @@ -503,7 +514,12 @@ All (GUI): - Render