X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/e9c0df38e7bdf9dcc527833c6ed7ae30155c24cc..2524f1ce36c16bb6253e9d5ce156996290b830dc:/include/wx/mac/setup0.h?ds=inline diff --git a/include/wx/mac/setup0.h b/include/wx/mac/setup0.h index 86101d7218..37dcda793e 100644 --- a/include/wx/mac/setup0.h +++ b/include/wx/mac/setup0.h @@ -182,6 +182,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.