added wxUSE_EXCEPTIONS
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23599 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -50,6 +50,14 @@
|
||||
# endif
|
||||
#endif /* !defined(wxUSE_DYNLIB_CLASS) */
|
||||
|
||||
#ifndef wxUSE_EXCEPTIONS
|
||||
# ifdef wxABORT_ON_CONFIG_ERROR
|
||||
# error "wxUSE_EXCEPTIONS must be defined."
|
||||
# else
|
||||
# define wxUSE_EXCEPTIONS 0
|
||||
# endif
|
||||
#endif /* !defined(wxUSE_EXCEPTIONS) */
|
||||
|
||||
#ifndef wxUSE_FILESYSTEM
|
||||
# ifdef wxABORT_ON_CONFIG_ERROR
|
||||
# error "wxUSE_FILESYSTEM must be defined."
|
||||
|
@@ -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.
|
||||
|
@@ -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
|
||||
|
@@ -16,6 +16,8 @@
|
||||
// global settings
|
||||
// ----------------------------------------------------------------------------
|
||||
|
||||
#define wxUSE_EXCEPTIONS 1
|
||||
|
||||
// define this to 1 if you want icons to behave as bitmaps
|
||||
#define wxICON_IS_BITMAP 0
|
||||
|
||||
|
Reference in New Issue
Block a user