X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/a0fef35d6bd0505df5d3337a4357d6c867177d35..8de93aba534eb8b9b7bf6b068e0a1e89e415cf97:/docs/latex/wx/cmdlpars.tex?ds=sidebyside diff --git a/docs/latex/wx/cmdlpars.tex b/docs/latex/wx/cmdlpars.tex index 46119ef6d1..f5b21d36a8 100644 --- a/docs/latex/wx/cmdlpars.tex +++ b/docs/latex/wx/cmdlpars.tex @@ -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.