X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/42599b710de7d49fdc9bd9219333daf46c51f508..52170c5b4419c63d6e0083df411aad420395ec98:/include/wx/cmdline.h diff --git a/include/wx/cmdline.h b/include/wx/cmdline.h index fc5726d1da..88ce4e51d3 100644 --- a/include/wx/cmdline.h +++ b/include/wx/cmdline.h @@ -64,13 +64,17 @@ enum wxCmdLineEntryType struct wxCmdLineEntryDesc { wxCmdLineEntryType kind; - wxString shortName; - wxString longName; - wxString description; + const char *shortName; + const char *longName; + const char *description; wxCmdLineParamType type; int flags; }; +// the list of wxCmdLineEntryDesc objects should be terminated with this one +#define wxCMD_LINE_DESC_END \ + { wxCMD_LINE_NONE, NULL, NULL, NULL, wxCMD_LINE_VAL_NONE, 0x0 } + // ---------------------------------------------------------------------------- // wxCmdLineParser is a class for parsing command line. //