diff options
| author | Carl Hetherington <cth@carlh.net> | 2014-04-27 23:41:26 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2014-04-27 23:41:26 +0100 |
| commit | 7f2e74604a51b984e4c8cbb5d5f4bb642677ec00 (patch) | |
| tree | be2da9736a298d9367c8c8f1aa231c43251ccaab /src/tools/dcpomatic.cc | |
| parent | 243dff6782db2783648c9efc0e6cd17b1c6cdaae (diff) | |
| parent | ab43240870523c96c68493d107b8bc8c5294629b (diff) | |
Merge master.
Diffstat (limited to 'src/tools/dcpomatic.cc')
| -rw-r--r-- | src/tools/dcpomatic.cc | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/src/tools/dcpomatic.cc b/src/tools/dcpomatic.cc index 2f64371ae..1abd25198 100644 --- a/src/tools/dcpomatic.cc +++ b/src/tools/dcpomatic.cc @@ -733,6 +733,17 @@ class App : public wxApp return true; } + bool OnExceptionInMainLoop () + { + error_dialog (0, _("An unknown exception occurred. Please report this problem to the DCP-o-matic author (carl@dcpomatic.com).")); + return false; + } + + void OnUnhandledException () + { + error_dialog (0, _("An unknown exception occurred. Please report this problem to the DCP-o-matic author (carl@dcpomatic.com).")); + } + void idle () { ui_signaller->ui_idle (); |
