X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/5c6eb3a84be918dcfed2496d014549e13af0f0e9..f54e5c1a4f6952c62ed4480f7d26feddc20f98ba:/include/wx/osx/setup0.h diff --git a/include/wx/osx/setup0.h b/include/wx/osx/setup0.h index dba42e11ea..573e6639cf 100644 --- a/include/wx/osx/setup0.h +++ b/include/wx/osx/setup0.h @@ -48,6 +48,17 @@ // 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 for all compilers except VC6 currently. +// +// Recommended setting: 0 (please upgrade your compiler instead of changing it) +#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. @@ -578,9 +589,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 @@ -607,6 +619,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 @@ -684,6 +703,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 @@ -771,14 +791,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. // @@ -828,6 +840,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 // ---------------------------------------------------------------------------- @@ -1175,7 +1196,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 // ---------------------------------------------------------------------------- @@ -1274,25 +1295,21 @@ // override some settings for Metrowerks // // VZ: isn't this file only used when building with Metrowerks anyhow? -// CS: no, it is also used by the XCode projects +// CS: no, it is also used by the XCode projects #ifdef __MWERKS__ #undef wxUSE_DEBUG_CONTEXT #define wxUSE_DEBUG_CONTEXT 1 #undef wxUSE_STD_IOSTREAM - // CS: I have to set this to 0 now, as shared builds are having problems + // CS: I have to set this to 0 now, as shared builds are having problems #define wxUSE_STD_IOSTREAM 0 #endif -// things not implemented under Mac -#undef wxUSE_POPUPWIN -#define wxUSE_POPUPWIN 0 +#undef wxUSE_GRAPHICS_CONTEXT +#define wxUSE_GRAPHICS_CONTEXT 1 -#undef wxUSE_TIPWINDOW -#define wxUSE_TIPWINDOW 0 -#undef wxUSE_TOGGLEBTN -#define wxUSE_TOGGLEBTN 0 +// things not implemented under Mac #undef wxUSE_STACKWALKER #define wxUSE_STACKWALKER 0 @@ -1300,20 +1317,19 @@ // wxWebKit is a wrapper for Apple's WebKit framework, use it if you want to // embed the Safari browser control // 0 by default because of Jaguar compatibility problems -#define wxUSE_WEBKIT 0 +#define wxUSE_WEBKIT 1 // Set to 0 for no libmspack #define wxUSE_LIBMSPACK 0 -// native toolbar does not support embedding controls yet, please test by setting to 1 -#define wxMAC_USE_NATIVE_TOOLBAR 0 +// native toolbar does support embedding controls, but not comples panels, please test +#define wxOSX_USE_NATIVE_TOOLBAR 1 // make sure we have the proper dispatcher for the console event loop #define wxUSE_SELECT_DISPATCHER 1 #define wxUSE_EPOLL_DISPATCHER 0 - #endif // _WX_SETUP_H_