change wxCmdLineEntryDesc::short/longName type to wxString for better compatibility with existing Unicode code

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48605 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin 2007-09-07 23:41:56 +00:00
parent a43bd048a3
commit 42599b710d
2 changed files with 5 additions and 5 deletions

View File

@ -69,8 +69,8 @@ this structure:
struct wxCmdLineEntryDesc
{
wxCmdLineEntryType kind;
const char *shortName;
const char *longName;
wxString shortName;
wxString longName;
wxString description;
wxCmdLineParamType type;
int flags;
@ -93,7 +93,7 @@ enum wxCmdLineEntryType
}
The field {\tt shortName} is the usual, short, name of the switch or the option.
{\tt longName} is the corresponding long name or NULL if the option has no long
{\tt longName} is the corresponding long name or empty if the option has no long
name. Both of these fields are unused for the parameters. Both the short and
long option names can contain only letters, digits and the underscores.

View File

@ -64,8 +64,8 @@ enum wxCmdLineEntryType
struct wxCmdLineEntryDesc
{
wxCmdLineEntryType kind;
const char *shortName;
const char *longName;
wxString shortName;
wxString longName;
wxString description;
wxCmdLineParamType type;
int flags;