From 7e52c0c76f280c78218fde11906eb1407d360c4b Mon Sep 17 00:00:00 2001 From: Carl Hetherington Date: Mon, 25 Nov 2013 15:57:34 +0000 Subject: [PATCH] Try using utf8_str to convert wx filenames to boost. --- src/wx/film_editor.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/wx/film_editor.cc b/src/wx/film_editor.cc index 9cf840614..201bfa87a 100644 --- a/src/wx/film_editor.cc +++ b/src/wx/film_editor.cc @@ -745,7 +745,7 @@ FilmEditor::content_add_file_clicked () /* XXX: check for lots of files here and do something */ for (unsigned int i = 0; i < paths.GetCount(); ++i) { - _film->examine_and_add_content (content_factory (_film, wx_to_std (paths[i]))); + _film->examine_and_add_content (content_factory (_film, paths[i].utf8_str().data ())); } } -- 2.30.2