X-Git-Url: https://main.carlh.net/gitweb/?a=blobdiff_plain;f=src%2Fwx%2Ffilm_editor.cc;h=a94ed7b2d8e3bc056f90211a65b072d32c17384d;hb=d3167c49a0b497a288529a837d2ca3eb5121fb37;hp=4ef30fd050fab0cb77ad1eed5e76c7f1e55cdc60;hpb=419bcdc816802e50fdebb89bc9dd4a73ede103f5;p=dcpomatic.git diff --git a/src/wx/film_editor.cc b/src/wx/film_editor.cc index 4ef30fd05..a94ed7b2d 100644 --- a/src/wx/film_editor.cc +++ b/src/wx/film_editor.cc @@ -501,7 +501,7 @@ FilmEditor::content_changed (wxCommandEvent &) _film->set_content (wx_to_std (_content->GetPath ())); } catch (std::exception& e) { _content->SetPath (std_to_wx (_film->directory ())); - error_dialog (this, std_to_wx (String::compose (wx_to_std (_("Could not set content: %1")), e.what ()))); + error_dialog (this, wxString::Format (_("Could not set content: %1"), std_to_wx (e.what()).data())); } }