X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/7c8c7cc23e709bebc7dba5d6e1bbf62b4a556184..960b193e59a7700570cfcae914ef2f698e6ba3b8:/include/wx/app.h diff --git a/include/wx/app.h b/include/wx/app.h index ccc781568e..a0c4a71fb1 100644 --- a/include/wx/app.h +++ b/include/wx/app.h @@ -121,7 +121,12 @@ public: // event loop: it may return true to continue running the event loop or // false to stop it (in the latter case it may rethrow the exception as // well) - virtual bool OnExceptionInMainLoop() { throw; } + virtual bool OnExceptionInMainLoop() { + throw; +#if defined(__DMC__) || (defined(_MSC_VER) && _MSC_VER < 1200) + return false; +#endif + } // 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