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