From: Vadim Zeitlin Date: Fri, 7 Sep 2007 19:31:55 +0000 (+0000) Subject: changed wxCmdLineEntryDesc::short/longName fields type to char* from wxChar* (non... X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/fdbd123ef922b2ea0f8496dca32f220be579ac51 changed wxCmdLineEntryDesc::short/longName fields type to char* from wxChar* (non-ASCII options are uncommon but NULL values are often specified for these fields) and made description field a wxString (as it can be constructed from either char or wchar_t strings and normally shouldn't be NULL) git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48600 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/include/wx/cmdline.h b/include/wx/cmdline.h index 54fe7fbb71..c9dd72b9d2 100644 --- a/include/wx/cmdline.h +++ b/include/wx/cmdline.h @@ -64,9 +64,9 @@ enum wxCmdLineEntryType struct wxCmdLineEntryDesc { wxCmdLineEntryType kind; - const wxChar *shortName; - const wxChar *longName; - const wxChar *description; + const char *shortName; + const char *longName; + wxString description; wxCmdLineParamType type; int flags; };