summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2013-11-25 15:57:34 +0000
committerCarl Hetherington <cth@carlh.net>2013-11-25 15:57:34 +0000
commit7e52c0c76f280c78218fde11906eb1407d360c4b (patch)
treed32c8e44f968c5154a0795717093d5e6c325982b /src
parentea73ac38b9ee0e75a264cec907e6ac99d2f5d54a (diff)
Try using utf8_str to convert wx filenames to boost.
Diffstat (limited to 'src')
-rw-r--r--src/wx/film_editor.cc2
1 files changed, 1 insertions, 1 deletions
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 ()));
}
}