X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/bb445ba73277eaed18c2fbb6c4714279bdff8bdb..33b3ade5031832ed833c4e118ca4de724bbe7465:/include/wx/setup_inc.h diff --git a/include/wx/setup_inc.h b/include/wx/setup_inc.h index f83f0ceaf3..1112262abc 100644 --- a/include/wx/setup_inc.h +++ b/include/wx/setup_inc.h @@ -43,6 +43,19 @@ // Recommended setting: 0 (please update your code) #define WXWIN_COMPATIBILITY_2_8 1 +// Use the 2.8-compatible events and Connect(): this is set to 0 by default as +// the new events bring significant benefits in compile-time safety and +// flexibility but can be disabled to somewhat reduce the compilation time and, +// especially, to still allow building if the compiler template support is too +// bad to compile the new code. +// +// Default is 0 but this is set to 1 automatically in wx/chkconf.h for the +// compilers which can't build the new code (currently only g++ and MSVC >= 8 +// can) +// +// Recommended setting: 0 +#define wxEVENTS_COMPATIBILITY_2_8 0 + // MSW-only: Set to 0 for accurate dialog units, else 1 for old behaviour when // default system font is used for wxWindow::GetCharWidth/Height() instead of // the current font. @@ -230,16 +243,6 @@ // Recommended setting: 0 unless you do plan to develop MT applications #define wxUSE_THREADS 1 -// Set wxUSE_WEAKREF to 1 t support use of weak references to common classes -// in wxWidgets (wxWeakRef). Set to 0 if your compiler has problems with -// the template-based implementation (Embedded Visual C++ 4 for ARM has a bug -// in this area, Visual C compiler options "/vmm /vmg" may help then). -// -// Default is 1 -// -// Recommended setting: 1 -#define wxUSE_WEAKREF 1 - // If enabled, compiles wxWidgets streams classes // // wx stream classes are used for image IO, process IO redirection, network @@ -583,9 +586,10 @@ // Recommended setting: 1 #define wxUSE_MEDIACTRL 1 -// Use GStreamer for Unix (req a lot of dependancies) +// Use GStreamer for Unix. // -// Default is 0 +// Default is 0 as this requires a lot of dependencies which might not be +// available. // // Recommended setting: 1 (wxMediaCtrl won't work by default without it) #define wxUSE_GSTREAMER 0 @@ -612,6 +616,13 @@ // Recommended setting: 1 #define wxUSE_AUI 1 +// Use wxPropertyGrid. +// +// Default is 1 +// +// Recommended setting: 1 +#define wxUSE_PROPGRID 1 + // Use wxStyledTextCtrl, a wxWidgets implementation of Scintilla. // // Default is 1 @@ -689,6 +700,7 @@ #define wxUSE_FILEPICKERCTRL 1 // wxFilePickerCtrl #define wxUSE_FONTPICKERCTRL 1 // wxFontPickerCtrl #define wxUSE_GAUGE 1 // wxGauge +#define wxUSE_HEADERCTRL 1 // wxHeaderCtrl #define wxUSE_HYPERLINKCTRL 1 // wxHyperlinkCtrl #define wxUSE_LISTBOX 1 // wxListBox #define wxUSE_LISTCTRL 1 // wxListCtrl @@ -776,14 +788,6 @@ // Recommended setting: 1 #define wxUSE_TOOLBOOK 1 -// wxTabDialog is a generic version of wxNotebook but it is incompatible with -// the new class. It shouldn't be used in new code. -// -// Default is 0. -// -// Recommended setting: 0 (use wxNotebook) -#define wxUSE_TAB_DIALOG 0 - // wxTaskBarIcon is a small notification icon shown in the system toolbar or // dock. // @@ -833,6 +837,15 @@ // Recommended setting: 1 but can be safely set to 0 #define wxUSE_BITMAPCOMBOBOX 1 +// wxRearrangeCtrl is a wxCheckListBox with two buttons allowing to move items +// up and down in it. It is also used as part of wxRearrangeDialog. +// +// Default is 1. +// +// Recommended setting: 1 but can be safely set to 0 (currently used only by +// wxHeaderCtrl) +#define wxUSE_REARRANGECTRL 1 + // ---------------------------------------------------------------------------- // Miscellaneous GUI stuff // ---------------------------------------------------------------------------- @@ -1180,7 +1193,7 @@ #define wxUSE_AFM_FOR_POSTSCRIPT 1 // Set to 1 to compile in support for wxSVGFileDC, a wxDC subclass which allows -// to create fiels in SVG (Scalable Vector Graphics) format. +// to create files in SVG (Scalable Vector Graphics) format. #define wxUSE_SVG 1 // ---------------------------------------------------------------------------- @@ -1196,14 +1209,15 @@ #define REMOVE_UNUSED_ARG 1 // VC++ 4.2 and above allows and but you can't mix -// them. Set to 1 for , 0 for . Note that VC++ 7.1 -// and later doesn't support wxUSE_IOSTREAMH == 1 and so will be -// used anyhow. +// them. Set this option to 1 to use , 0 to use . // -// Default is 1. +// Note that newer compilers (including VC++ 7.1 and later) don't support +// wxUSE_IOSTREAMH == 1 and so will be used anyhow. +// +// Default is 0. // -// Recommended setting: whatever your compiler likes more -#define wxUSE_IOSTREAMH 1 +// Recommended setting: 0, only set to 1 if you use a really old compiler +#define wxUSE_IOSTREAMH 0 // ---------------------------------------------------------------------------- // image format support