]> git.sesse.net Git - vlc/blobdiff - modules/gui/wxwidgets/dialogs/vlm/vlm_panel.cpp
Completely replace all ANSI CP dependend mb_str()
[vlc] / modules / gui / wxwidgets / dialogs / vlm / vlm_panel.cpp
index fb380d9fac7387607400a7690034c942a4d3a5c0..e67304e22b2d38d4ad25c52b5c1adcf80dbe386e 100644 (file)
@@ -217,7 +217,7 @@ void VLMPanel::OnLoad( wxCommandEvent &event )
     p_file_dialog->SetTitle( wxU(_("Load Configuration") ) );
     if( p_file_dialog->ShowModal() == wxID_OK )
     {
-        vlm_Load( p_vlm->GetVLM(), p_file_dialog->GetPath().mb_str() );
+        vlm_Load( p_vlm->GetVLM(), p_file_dialog->GetPath().mb_str(wxConvUTF8) );
     }
     Update();
 }
@@ -231,7 +231,7 @@ void VLMPanel::OnSave( wxCommandEvent &event )
     p_file_dialog->SetTitle( wxU(_("Save Configuration") ) );
     if( p_file_dialog->ShowModal() == wxID_OK )
     {
-        vlm_Save( p_vlm->GetVLM(), p_file_dialog->GetPath().mb_str() );
+        vlm_Save( p_vlm->GetVLM(), p_file_dialog->GetPath().mb_str(wxConvUTF8) );
     }
 }