From c37dc21c19765b1b14f23efb30068bf60f6fda3f Mon Sep 17 00:00:00 2001 From: Vadim Zeitlin Date: Wed, 17 Sep 2003 10:39:09 +0000 Subject: [PATCH] added wxUSE_EXCEPTIONS git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23632 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- include/wx/univ/setup0.h | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/include/wx/univ/setup0.h b/include/wx/univ/setup0.h index 736b6ae3ac..6e77fd67c0 100644 --- a/include/wx/univ/setup0.h +++ b/include/wx/univ/setup0.h @@ -187,6 +187,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 1 + // Support for message/error logging. This includes wxLogXXX() functions and // wxLog and derived classes. Don't set this to 0 unless you really know what // you are doing.