wxWidgets 2.9 compatibility

This commit is contained in:
Alexander Kojevnikov 2012-08-16 22:07:33 -07:00
parent c7f2715130
commit 0745673f90

View File

@ -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
}, { }, {