Don't lose data when converting wxExecute() arguments under Unix

Use wxConvWhateverWorks when converting the command line given as a string to
individual arguments: we already used wxSafeConvertWX2MB() when converting the
arguments specified as an array, but not here.

Closes #16206.
This commit is contained in:
Vadim Zeitlin 2016-02-19 03:10:47 +01:00
parent 956edbb309
commit 704055f200

View File

@ -400,7 +400,7 @@ public:
for ( int i = 0; i < m_argc; i++ )
{
m_argv[i] = wxStrdup(args[i]);
m_argv[i] = wxStrdup(args[i].mb_str(wxConvWhateverWorks));
}
}