X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/4c2a8d899d3332b5ea440f605c2468405d5ed905..c2d122aa7d8f2b8d76aef0440b75cd640b56c707:/include/wx/app.h diff --git a/include/wx/app.h b/include/wx/app.h index 3e3e8c7665..d12af8b3ae 100644 --- a/include/wx/app.h +++ b/include/wx/app.h @@ -197,10 +197,10 @@ public: wxEvent& event) const; // Called when an unhandled C++ exception occurs inside OnRun(): note that - // the exception type is lost by now, so if you really want to handle the - // exception you should override OnRun() and put a try/catch around - // MainLoop() call there or use OnExceptionInMainLoop() - virtual void OnUnhandledException() { } + // the main event loop has already terminated by now and the program will + // exit, if you need to really handle the exceptions you need to override + // OnExceptionInMainLoop() + virtual void OnUnhandledException(); #endif // wxUSE_EXCEPTIONS // event processing functions