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:
parent
a43bd048a3
commit
42599b710d
@ -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.
|
||||
|
||||
|
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user