]> git.saurik.com Git - wxWidgets.git/commitdiff
mention that NULL/"" changes also affect struct fields
authorVadim Zeitlin <vadim@wxwidgets.org>
Mon, 10 Sep 2007 22:04:26 +0000 (22:04 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Mon, 10 Sep 2007 22:04:26 +0000 (22:04 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48635 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

docs/changes.txt

index e74ee4b673670d26b51bab738da49f798af0fe34..a32183821753f80934ae3b9eb046de03d61fceb3 100644 (file)
@@ -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.