mirror of
https://github.com/alexkay/spek.git
synced 2025-06-04 09:31:14 +03:00
wxWidgets 2.9 compatibility
This commit is contained in:
parent
c7f2715130
commit
0745673f90
13
src/spek.cc
13
src/spek.cc
@ -58,20 +58,21 @@ void Spek::OnInitCmdLine(wxCmdLineParser& parser)
|
|||||||
{
|
{
|
||||||
wxCmdLineEntryDesc desc[] = {{
|
wxCmdLineEntryDesc desc[] = {{
|
||||||
wxCMD_LINE_SWITCH,
|
wxCMD_LINE_SWITCH,
|
||||||
wxT("h"),
|
wxT_2("h"),
|
||||||
wxT("help"), _("Show this help message"),
|
wxT_2("help"),
|
||||||
|
wxT_2("Show this help message"),
|
||||||
wxCMD_LINE_VAL_NONE,
|
wxCMD_LINE_VAL_NONE,
|
||||||
wxCMD_LINE_OPTION_HELP
|
wxCMD_LINE_OPTION_HELP
|
||||||
}, {
|
}, {
|
||||||
wxCMD_LINE_SWITCH,
|
wxCMD_LINE_SWITCH,
|
||||||
wxT("V"),
|
wxT_2("V"),
|
||||||
wxT("version"),
|
wxT_2("version"),
|
||||||
_("Display the version and exit")
|
wxT_2("Display the version and exit")
|
||||||
}, {
|
}, {
|
||||||
wxCMD_LINE_PARAM,
|
wxCMD_LINE_PARAM,
|
||||||
NULL,
|
NULL,
|
||||||
NULL,
|
NULL,
|
||||||
_("FILE"),
|
wxT_2("FILE"),
|
||||||
wxCMD_LINE_VAL_STRING,
|
wxCMD_LINE_VAL_STRING,
|
||||||
wxCMD_LINE_PARAM_OPTIONAL
|
wxCMD_LINE_PARAM_OPTIONAL
|
||||||
}, {
|
}, {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user