A whole load of UTF-8/-16 confusion fixes for Windows.
[dcpomatic.git] / src / wx / new_film_dialog.cc
index 2612a6afe9afabc987847dcbc0a1547ca6c43850..be5af999e86ca42861f1b9fd73e8563962037dab 100644 (file)
@@ -74,11 +74,11 @@ NewFilmDialog::~NewFilmDialog ()
        _directory = wx_to_std (_folder->GetPath ());
 }
 
-string
+boost::filesystem::path
 NewFilmDialog::get_path () const
 {
        filesystem::path p;
        p /= wx_to_std (_folder->GetPath ());
        p /= wx_to_std (_name->GetValue ());
-       return p.string ();
+       return p;
 }