Fix compilation under wx28

This commit is contained in:
Alexander Kojevnikov 2012-08-19 13:17:29 -07:00
parent 68989c8b6f
commit dcec7595f7
2 changed files with 5 additions and 3 deletions

@ -36,7 +36,7 @@ SpekWindow::SpekWindow(const wxString& path) :
{
SetTitle(_("Spek - Acoustic Spectrum Analyser"));
// TODO: test on all platforms
SetIcon(wxIcon(wxT("spek")));
//SetIcon(wxIcon(wxT("spek")));
wxMenuBar *menu = new wxMenuBar();

@ -68,8 +68,10 @@ bool Spek::OnInit()
wxT_2("FILE"),
wxCMD_LINE_VAL_STRING,
wxCMD_LINE_PARAM_OPTIONAL
},
wxCMD_LINE_DESC_END
}, {
// TODO: use wxCMD_LINE_DESC_END after settling on wx29.
wxCMD_LINE_NONE, NULL, NULL, NULL, wxCMD_LINE_VAL_NONE, 0
}
};
wxCmdLineParser parser(desc, argc, argv);