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:
@@ -69,8 +69,8 @@ this structure:
|
|||||||
struct wxCmdLineEntryDesc
|
struct wxCmdLineEntryDesc
|
||||||
{
|
{
|
||||||
wxCmdLineEntryType kind;
|
wxCmdLineEntryType kind;
|
||||||
const char *shortName;
|
wxString shortName;
|
||||||
const char *longName;
|
wxString longName;
|
||||||
wxString description;
|
wxString description;
|
||||||
wxCmdLineParamType type;
|
wxCmdLineParamType type;
|
||||||
int flags;
|
int flags;
|
||||||
@@ -93,7 +93,7 @@ enum wxCmdLineEntryType
|
|||||||
}
|
}
|
||||||
|
|
||||||
The field {\tt shortName} is the usual, short, name of the switch or the option.
|
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
|
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.
|
long option names can contain only letters, digits and the underscores.
|
||||||
|
|
||||||
|
@@ -64,8 +64,8 @@ enum wxCmdLineEntryType
|
|||||||
struct wxCmdLineEntryDesc
|
struct wxCmdLineEntryDesc
|
||||||
{
|
{
|
||||||
wxCmdLineEntryType kind;
|
wxCmdLineEntryType kind;
|
||||||
const char *shortName;
|
wxString shortName;
|
||||||
const char *longName;
|
wxString longName;
|
||||||
wxString description;
|
wxString description;
|
||||||
wxCmdLineParamType type;
|
wxCmdLineParamType type;
|
||||||
int flags;
|
int flags;
|
||||||
|
Reference in New Issue
Block a user