X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/0e7ac69ea905a69d8363a2deba4b68a968cc870f..3684ade82ec6f5fb7ff72341e26060b6ea0793c8:/include/wx/msw/setup0.h diff --git a/include/wx/msw/setup0.h b/include/wx/msw/setup0.h index 29a5185929..b3e126f614 100644 --- a/include/wx/msw/setup0.h +++ b/include/wx/msw/setup0.h @@ -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 1 + // Set wxUSE_EXTENDED_RTTI to 1 to use extended RTTI // // Default is 0