X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/8228dac8ff8c81554c8af8284aed5a277f472cc6..c8e1af672f46e93ae2fe6d7f9d5b35a3d8d49c16:/include/wx/msw/setup0.h diff --git a/include/wx/msw/setup0.h b/include/wx/msw/setup0.h index 173497a55b..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,18 @@ // (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 // ---------------------------------------------------------------------------- @@ -1106,27 +1122,11 @@ // 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. +// 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 -// 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. -// -// Recommended setting: 1, set to 0 if your programs never crash -#define wxUSE_STACKWALKER 1 - -#if !wxUSE_ON_FATAL_EXCEPTION - #undef wxUSE_CRASHREPORT - #define wxUSE_CRASHREPORT 0 - #undef wxUSE_STACKWALKER - #define wxUSE_STACKWALKER 0 -#endif - // ---------------------------------------------------------------------------- // obsolete settings // ----------------------------------------------------------------------------