From f7d4537c2bcf5a935edacadb627b01dbc6523beb Mon Sep 17 00:00:00 2001 From: Julian Smart Date: Thu, 18 Sep 2003 12:03:04 +0000 Subject: [PATCH] Added wxUSE_EXCEPTIONS git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23663 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- include/wx/msw/wince/setup.h | 15 ++++++++++++++- 1 file changed, 14 insertions(+), 1 deletion(-) diff --git a/include/wx/msw/wince/setup.h b/include/wx/msw/wince/setup.h index 196353ee0d..79de00e12c 100644 --- a/include/wx/msw/wince/setup.h +++ b/include/wx/msw/wince/setup.h @@ -32,7 +32,7 @@ // Default is 0 // // Recommended setting: 0 (please update your code) -#define WXWIN_COMPATIBILITY_2_2 1 +#define WXWIN_COMPATIBILITY_2_2 0 // This setting determines the compatibility with 2.4 API: set it to 0 to // flag all cases of using deprecated functions. @@ -181,6 +181,19 @@ // global features // ---------------------------------------------------------------------------- +// Compile library in exception-safe mode? If set to 1, the library will try to +// behave correctly in presence of exceptions (even though it still will not +// use the exceptions itself) and notify the user code about any unhandled +// exceptions. If set to 0, propagation of the exceptions through the library +// code will lead to undefined behaviour -- but the code itself will be +// slightly smaller and faster. +// +// Default is 1 +// +// Recommended setting: depends on whether you intend to use C++ exceptions +// in your own code (1 if you do, 0 if you don't) +#define wxUSE_EXCEPTIONS 0 + // Set wxUSE_EXTENDED_RTTI to 1 to use extended RTTI // // Default is 0 -- 2.45.2