diff --git a/common/single_top.cpp b/common/single_top.cpp index 10b024a7b5..49cda21df2 100644 --- a/common/single_top.cpp +++ b/common/single_top.cpp @@ -318,8 +318,8 @@ bool PGM_SINGLE_TOP::OnPgmInit() #endif static const wxCmdLineEntryDesc desc[] = { - { wxCMD_LINE_OPTION, "f", "frame", _( "Frame to load" ) }, - { wxCMD_LINE_PARAM, nullptr, nullptr, _( "File to load" ), wxCMD_LINE_VAL_STRING, + { wxCMD_LINE_OPTION, "f", "frame", _( "Frame to load" ).c_str() }, + { wxCMD_LINE_PARAM, nullptr, nullptr, _( "File to load" ).c_str(), wxCMD_LINE_VAL_STRING, wxCMD_LINE_PARAM_MULTIPLE | wxCMD_LINE_PARAM_OPTIONAL }, { wxCMD_LINE_NONE } };