From db60d56c591aabadb073ec18d146427a9933d6ee Mon Sep 17 00:00:00 2001 From: Chris Elliott Date: Tue, 20 Apr 2004 13:34:49 +0000 Subject: [PATCH] SF patch #938489 git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26876 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- include/wx/app.h | 7 ++++++- include/wx/msw/missing.h | 2 ++ 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/include/wx/app.h b/include/wx/app.h index ccc781568e..20439c1e52 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; +#ifdef __DMC__ + 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 diff --git a/include/wx/msw/missing.h b/include/wx/msw/missing.h index 5138801aa3..fe707c2219 100644 --- a/include/wx/msw/missing.h +++ b/include/wx/msw/missing.h @@ -524,6 +524,8 @@ typedef struct { WINCOMMCTRLAPI BOOL WINAPI _TrackMouseEvent(LPTRACKMOUSEEVENT lpEventTrack); + #define CCM_SETUNICODEFORMAT 8197 + #endif // This didn't appear in mingw until 2.95.2 -- 2.45.2