X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/6d1fbf781e064b3a7a954a78787d1e07ad4a0d17..8ea92b4d7792987769774ac381685dae15c70454:/include/wx/msw/setup0.h diff --git a/include/wx/msw/setup0.h b/include/wx/msw/setup0.h index 547de44a88..42e599b68b 100644 --- a/include/wx/msw/setup0.h +++ b/include/wx/msw/setup0.h @@ -127,6 +127,15 @@ #define wxUSE_ON_FATAL_EXCEPTION 0 #endif +// 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 + // ---------------------------------------------------------------------------- // Unicode support // ---------------------------------------------------------------------------- @@ -193,14 +202,9 @@ // // Default is 0 // -// Recommended setting: 0 +// Recommended setting: 0 (this is still work in progress...) #define wxUSE_EXTENDED_RTTI 0 -#if defined(__BORLANDC__) -#undef wxUSE_EXTENDED_RTTI -#define wxUSE_EXTENDED_RTTI 1 -#endif - // Set wxUSE_STL to 1 to derive wxList(Foo) and wxArray(Foo) from // std::list and std::vector, with a compatibility interface, // and for wxHashMap to be implemented with templates. @@ -567,10 +571,14 @@ // or the wrapper around native control. For native look and feel the native // version should be used. // -// Default is 1. +// Default is 1 for the platforms where native status bar is supported. // // Recommended setting: 1 (there is no advantage in using the generic one) +#if defined(__WXMSW__) || defined(__WXMAC__) #define wxUSE_NATIVE_STATUSBAR 1 +#else +#define wxUSE_NATIVE_STATUSBAR 0 +#endif // wxToolBar related settings: if wxUSE_TOOLBAR is 0, don't compile any toolbar // classes at all. Otherwise, use the native toolbar class unless @@ -618,12 +626,20 @@ // wxGrid class // -// Default is 1 for both options. +// Default is 1, set to 0 to cut down compilation time and binaries size if you +// don't use it. // // Recommended setting: 1 // #define wxUSE_GRID 1 +// wxMiniFrame class: a frame with narrow title bar +// +// Default is 1. +// +// Recommended setting: 1 (it doesn't cost almost anything) +#define wxUSE_MINIFRAME 1 + // ---------------------------------------------------------------------------- // Miscellaneous GUI stuff // ---------------------------------------------------------------------------- @@ -693,16 +709,6 @@ // wxValidator class and related methods #define wxUSE_VALIDATORS 1 -// wxDC cacheing implementation -#define wxUSE_DC_CACHEING 1 - -// Set this to 1 to enable the use of DIB's for wxBitmap to support -// bitmaps > 16MB on Win95/98/Me. Set to 0 to use DDB's only. -#define wxUSE_DIB_FOR_BITMAP 0 - -// Set this to 1 to enable wxDIB -#define wxUSE_WXDIB 1 - // ---------------------------------------------------------------------------- // common dialogs // ---------------------------------------------------------------------------- @@ -911,7 +917,7 @@ // Use wxHTML-based help controller? #define wxUSE_WXHTML_HELP 1 -#define wxUSE_RESOURCES 1 +#define wxUSE_RESOURCES 0 // 0 for no wxGetResource/wxWriteResource #define wxUSE_CONSTRAINTS 1 // 0 for no window layout constraint system @@ -1102,6 +1108,18 @@ // (notably, wxNotebook pages) #define wxUSE_UXTHEME_AUTO 1 +// ---------------------------------------------------------------------------- +// 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. +// +// Recommended setting: 1, set to 0 if your programs never crash +#define wxUSE_CRASHREPORT 1 + // ---------------------------------------------------------------------------- // obsolete settings // ---------------------------------------------------------------------------- @@ -1115,9 +1133,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_