changes:
- Many wxWidgets functions taking "const wxChar *" have been changed to take
- either "const wxString&" if they should accept both Unicode or ANSI strings
+ either "const wxString&" so that they accept both Unicode and ANSI strings.
and the argument can't be NULL or "const char *" if the strings are always
- ANSI but may be NULL.
+ ANSI but may be NULL. This change is normally backwards compatible except:
+
+ a) Virtual functions: derived classes versions must be modified to take
+ "const wxString&" as well to make sure that they continue to override the
+ base class version.
+
+ 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.
-- Some structure fields have been changed from "wxChar *" to "char *" too:
- e.g. wxCmdLineEntryDesc fields.
Changes in behaviour not resulting in compilation errors, please read this!