summaryrefslogtreecommitdiff
path: root/src/wx/content_panel.cc
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2024-08-09 02:02:20 +0200
committerCarl Hetherington <cth@carlh.net>2024-08-17 12:59:25 +0200
commit203ee8d5dcb58a3acb79780afb95c5251d8e4311 (patch)
treec29be253617a3884570b50cd6f074e00fc5163dc /src/wx/content_panel.cc
parent199f9e9026861d1a104f2b24371ddbb94f0e8169 (diff)
Remove some implicit conversions between wxString and std::string.
Diffstat (limited to 'src/wx/content_panel.cc')
-rw-r--r--src/wx/content_panel.cc6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/wx/content_panel.cc b/src/wx/content_panel.cc
index 5624e8797..a3a924457 100644
--- a/src/wx/content_panel.cc
+++ b/src/wx/content_panel.cc
@@ -640,7 +640,7 @@ ContentPanel::add_folder(boost::filesystem::path folder)
try {
content = content_factory(folder);
} catch (exception& e) {
- error_dialog (_parent, e.what());
+ error_dialog(_parent, std_to_wx(e.what()));
return;
}
@@ -693,7 +693,7 @@ ContentPanel::add_dcp(boost::filesystem::path dcp)
)
);
} catch (exception& e) {
- error_dialog(_parent, e.what());
+ error_dialog(_parent, std_to_wx(e.what()));
}
}
@@ -963,7 +963,7 @@ ContentPanel::add_files (vector<boost::filesystem::path> paths)
}
}
} catch (exception& e) {
- error_dialog (_parent, e.what());
+ error_dialog(_parent, std_to_wx(e.what()));
}
}