From: Vadim Zeitlin Date: Mon, 10 Sep 2007 22:04:26 +0000 (+0000) Subject: mention that NULL/"" changes also affect struct fields X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/1c06345ab658238ae09c0a9cf0c0e88bc9bd1efa mention that NULL/"" changes also affect struct fields git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48635 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/docs/changes.txt b/docs/changes.txt index e74ee4b673..a321838217 100644 --- a/docs/changes.txt +++ b/docs/changes.txt @@ -24,7 +24,10 @@ changes: b) Passing NULL as argument: as NULL can't be unambiguously converted to wxString, in many cases code using it won't compile any more and NULL - should be replaced with an empty string. + should be replaced with an empty string. The same issue also applies to + the structure fields which used to contain "const wxChar *" pointers (such + as wxCmdLineEntryDesc::shortName, longName and description fields) and are + now wxStrings: empty strings should be assigned to them instead of NULL.