try {
dcp->add_kdm (dcp::EncryptedKDM (dcp::file_to_string (wx_to_std (d->GetPath ()), MAX_KDM_SIZE)));
} catch (exception& e) {
- error_dialog (this, wxString::Format (_("Could not load KDM (%s)"), e.what ()));
+ error_dialog (this, wxString::Format (_("Could not load KDM (%s)"), std_to_wx(e.what())));
d->Destroy ();
return;
}
}
catch (exception& e)
{
- error_dialog (0, wxString::Format ("DCP-o-matic Player could not start: %s", e.what ()));
+ error_dialog (0, wxString::Format ("DCP-o-matic Player could not start: %s", std_to_wx(e.what())));
return true;
}