X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/28999ba6310e9c110a963223fd38e1f340e60568..c8e1af672f46e93ae2fe6d7f9d5b35a3d8d49c16:/include/wx/msw/setup0.h diff --git a/include/wx/msw/setup0.h b/include/wx/msw/setup0.h index b44463397e..9217ade6da 100644 --- a/include/wx/msw/setup0.h +++ b/include/wx/msw/setup0.h @@ -117,15 +117,19 @@ // This setting is for Win32 only and can only be enabled if your compiler // supports Win32 structured exception handling (currently only VC++ does) // -// Default is 1 +// Default is 1 if supported by the compiler (VC++ and recent BC++ only). // // Recommended setting: 1 if your compiler supports it. -#if defined(_MSC_VER) || \ - (defined(__BORLANDC__) && __BORLANDC__ >= 0x0550) - #define wxUSE_ON_FATAL_EXCEPTION 1 -#else - #define wxUSE_ON_FATAL_EXCEPTION 0 -#endif +#define wxUSE_ON_FATAL_EXCEPTION 1 + +// Set this to 1 to be able to generate a human-readable (unlike +// machine-readable minidumop created by wxCrashReport::Generate()) stack back +// trace when your program crashes using wxStackWalker +// +// Default is 1 if supported by the compiler (VC++ and recent BC++ only). +// +// Recommended setting: 1, set to 0 if your programs never crash +#define wxUSE_STACKWALKER 1 // ---------------------------------------------------------------------------- // Unicode support @@ -1099,6 +1103,30 @@ // (notably, wxNotebook pages) #define wxUSE_UXTHEME_AUTO 1 +// ---------------------------------------------------------------------------- +// Generic versions of native controls +// ---------------------------------------------------------------------------- + +// Set this to 1 to be able to use wxDatePickerCtrlGeneric in addition to the +// native wxDatePickerCtrl +// +// Default is 0. +// +// Recommended setting: 0, this is mainly used for testing +#define wxUSE_DATEPICKCTRL_GENERIC 0 + +// ---------------------------------------------------------------------------- +// Crash debugging helpers +// ---------------------------------------------------------------------------- + +// Set this to 1 to be able to use wxCrashReport::Generate() to create mini +// dumps of your program when it crashes (or at any other moment) +// +// Default is 1 if supported by the compiler (VC++ and recent BC++ only). +// +// Recommended setting: 1, set to 0 if your programs never crash +#define wxUSE_CRASHREPORT 1 + // ---------------------------------------------------------------------------- // obsolete settings // ---------------------------------------------------------------------------- @@ -1112,9 +1140,5 @@ // Define 1 to use bitmap messages. #define wxUSE_BITMAP_MESSAGE 1 -// If 1, enables provision of run-time type information. -// NOW MANDATORY: don't change. -#define wxUSE_DYNAMIC_CLASSES 1 - #endif // _WX_SETUP_H_