From 5527bdb269e355ca95aa91fe3907bfef0ef17ff4 Mon Sep 17 00:00:00 2001 From: Carl Hetherington Date: Fri, 9 Aug 2024 02:02:20 +0200 Subject: Remove some implicit conversions between wxString and std::string. --- src/wx/content_panel.cc | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/wx/content_panel.cc') 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 paths) } } } catch (exception& e) { - error_dialog (_parent, e.what()); + error_dialog(_parent, std_to_wx(e.what())); } } -- cgit v1.2.3