Commit 00249b14 authored by Marian Durkovic's avatar Marian Durkovic

Some more missing UTF8 conversions

parent 78485b86
......@@ -1171,7 +1171,7 @@ void OpenDialog::OnOk( wxCommandEvent& WXUNUSED(event) )
/* Insert options */
while( i + 1 < (int)mrl.GetCount() &&
((const char *)mrl[i + 1].mb_str())[0] == ':' )
((const char *)mrl[i + 1].mb_str(wxConvUTF8))[0] == ':' )
{
psz_utf8 = wxFromLocale( mrl[i + 1] );
playlist_ItemAddOption( p_item, psz_utf8 );
......
......@@ -1291,7 +1291,7 @@ void wizTranscodeExtraPage::OnSelectFile( wxCommandEvent &event)
if( file_dialog && file_dialog->ShowModal() == wxID_OK )
{
if( file_dialog->GetFilename().mb_str() )
if( file_dialog->GetFilename().mb_str(wxConvUTF8) )
{
file_text->SetValue( file_dialog->GetPath() );
}
......@@ -1375,7 +1375,7 @@ void wizStreamingExtraPage::OnWizardPageChanging(wxWizardEvent& event)
else
{
p_parent->SetSAP( true,
(const char *)sap_text->GetValue().mb_str() );
(const char *)sap_text->GetValue().mb_str(wxConvUTF8) );
}
}
else
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment