summaryrefslogtreecommitdiff
path: root/src/wx/export_subtitles_dialog.cc
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2024-01-16 00:33:05 +0100
committerCarl Hetherington <cth@carlh.net>2024-01-16 21:33:29 +0100
commitd464a939f9f851e835b2a4926fafd6eadaa183de (patch)
tree824a491f85ef056d401b37f006bbced3f63919a5 /src/wx/export_subtitles_dialog.cc
parent4790b63ceadc38fba77954f531a455fff28f8b13 (diff)
Cleanup: rename some methods in FilePickerCtrl and use boost::filesystem::path more.
Diffstat (limited to 'src/wx/export_subtitles_dialog.cc')
-rw-r--r--src/wx/export_subtitles_dialog.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/wx/export_subtitles_dialog.cc b/src/wx/export_subtitles_dialog.cc
index 3c32fae53..ade58b3fb 100644
--- a/src/wx/export_subtitles_dialog.cc
+++ b/src/wx/export_subtitles_dialog.cc
@@ -97,7 +97,7 @@ boost::filesystem::path
ExportSubtitlesDialog::path () const
{
if (_file->IsEnabled()) {
- wxFileName fn (_file->GetPath());
+ wxFileName fn(std_to_wx(_file->path().string()));
fn.SetExt (_interop ? "xml" : "mxf");
return wx_to_std (fn.GetFullPath());
}