diff options
| author | Carl Hetherington <cth@carlh.net> | 2024-08-09 02:02:20 +0200 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2024-09-03 17:02:24 +0200 |
| commit | 5527bdb269e355ca95aa91fe3907bfef0ef17ff4 (patch) | |
| tree | 5dd2fc2e81cf193c9712606f43f1e13e1a6e46bf /src/wx/content_panel.cc | |
| parent | a27964bd1794bb6a843873a0eaf3faa2c5cc317a (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.cc | 6 |
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())); } } |
