film.reset (new Film (film_to_load));
film->log()->set_level (log_level);
} catch (exception& e) {
- error_dialog (0, String::compose ("Could not load film %1 (%2)", film_to_load, e.what()));
+ error_dialog (0, std_to_wx (String::compose ("Could not load film %1 (%2)", film_to_load, e.what())));
}
}
if (i->second.details == o) {
string s = i->first->error_summary();
s[0] = toupper (s[0]);
- error_dialog (this, String::compose ("%1.\n\n%2", s, i->first->error_details()));
+ error_dialog (this, std_to_wx (String::compose ("%1.\n\n%2", s, i->first->error_details())));
}
}
}