diff options
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())); } } |
