X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/24ce4c1875bf69d896a16c82e879544d86f8c120..761df41e86ceeed56d32c038a6c9f88554d4f47a:/include/wx/univ/setup.h diff --git a/include/wx/univ/setup.h b/include/wx/univ/setup.h index 0f893e3c75..d76f21470f 100644 --- a/include/wx/univ/setup.h +++ b/include/wx/univ/setup.h @@ -5,7 +5,7 @@ // Modified by: // Created: 14.08.00 // RCS-ID: $Id$ -// Copyright: (c) 2000 Vadim Zeitlin +// Copyright: (c) 2000 SciTech Software, Inc. (www.scitechsoft.com) // Licence: wxWindows license /////////////////////////////////////////////////////////////////////////////// @@ -13,9 +13,181 @@ #define _WX_UNIV_SETUP_H_ // ---------------------------------------------------------------------------- -// undef everything +// not all ports implement everything... // ---------------------------------------------------------------------------- +// FIXME: why do we have different sections for Mac/OS2/the rest? Most settings +// should have the same value, like this it's a real pain to update this +// file... + +#define wxUSE_DYNAMIC_LOADER 0 + +#define wxUSE_PROTOCOL 0 +#define wxUSE_URL 0 + +#define wxUSE_UNICODE_MSLU 0 + +#if defined(__WXMAC__) + +#define wxUSE_GUI 1 +#define WXWIN_COMPATIBILITY 0 +#define wxICON_IS_BITMAP 0 +#define wxFONT_SIZE_COMPATIBILITY 0 +#define wxDIALOG_UNIT_COMPATIBILITY 0 +#define wxUSE_DEBUG_CONTEXT 0 +#define wxUSE_MEMORY_TRACING 0 +#define wxUSE_GLOBAL_MEMORY_OPERATORS 0 +#define wxUSE_DEBUG_NEW_ALWAYS 0 +#define wxUSE_ON_FATAL_EXCEPTION 0 + +#define wxUSE_UNICODE 0 +#define wxUSE_WCHAR_T 0 +#define wxUSE_LOG 1 +#define wxUSE_LOGGUI 1 +#define wxUSE_LOGWINDOW 1 +#define wxUSE_LOG_DIALOG 0 +#define wxUSE_THREADS 0 +#define wxUSE_STREAMS 0 +#define wxUSE_STD_IOSTREAM 0 +#define wxUSE_SERIAL 0 +#define wxUSE_LONGLONG 1 +#define wxUSE_TIMER 1 +#define wxUSE_STOPWATCH 1 +#define wxUSE_TIMEDATE 0 +#define wxUSE_DATETIME 1 +#define wxUSE_CONFIG 0 +#define wxUSE_CONFIG_NATIVE 0 +#define wxUSE_DIALUP_MANAGER 0 +#define wxUSE_DYNLIB_CLASS 0 +#define wxUSE_SOCKETS 0 +#define wxUSE_FILESYSTEM 0 +#define wxUSE_FS_ZIP 0 +#define wxUSE_FS_INET 0 +#define wxUSE_ZIPSTREAM 0 +#define wxUSE_ZLIB 0 +#define wxUSE_FILESYSTEM 0 +#define wxUSE_FS_ZIP 0 +#define wxUSE_FS_INET 0 +#define wxUSE_ZIPSTREAM 0 +#define wxUSE_ZLIB 0 +#define wxUSE_APPLE_IEEE 0 +#define wxUSE_FILE 1 +#define wxUSE_FFILE 1 +#define wxUSE_TEXTFILE 0 +#define wxUSE_INTL 0 +#define wxUSE_MENUS 0 // was 1 +#define wxUSE_TOOLBAR 0 +#define wxUSE_TOOLBAR_NATIVE 0 +#define wxUSE_TOOLBAR_SIMPLE 0 +#define wxUSE_NOTEBOOK 1 +#define wxUSE_FONTMAP 0 +#define wxUSE_MIMETYPE 0 +#define wxUSE_IMAGE 1 +#define wxUSE_SYSTEM_OPTIONS 1 + +#define wxUSE_CONTROLS 1 +#define wxUSE_POPUPWIN 1 +#define wxUSE_TIPWINDOW 1 +#define wxUSE_BUTTON 1 +#define wxUSE_BMPBUTTON 1 +#define wxUSE_CALENDARCTRL 0 +#define wxUSE_CARET 1 +#define wxUSE_CHECKBOX 1 +#define wxUSE_CHECKLISTBOX 1 +#define wxUSE_CHOICE 0 +#define wxUSE_COMBOBOX 0 // was 1 +#define wxUSE_GAUGE 1 +#define wxUSE_IMAGLIST 1 +#define wxUSE_LISTBOX 1 +#define wxUSE_LISTCTRL 0 +#define wxUSE_RADIOBOX 1 +#define wxUSE_RADIOBTN 1 +#define wxUSE_SASH 0 +#define wxUSE_SCROLLBAR 1 +#define wxUSE_SLIDER 1 +#define wxUSE_SPINBTN 1 +#define wxUSE_SPINCTRL 1 +#define wxUSE_STATBOX 1 +#define wxUSE_STATLINE 1 +#define wxUSE_STATTEXT 1 +#define wxUSE_STATBMP 1 +#define wxUSE_STATUSBAR 1 +#define wxUSE_TEXTCTRL 1 +#define wxUSE_TOOLTIPS 0 +#define wxUSE_TREECTRL 0 + +#define wxUSE_NATIVE_STATUSBAR 0 +#define wxUSE_BUTTONBAR 0 +#define wxUSE_GRID 0 +#define wxUSE_NEW_GRID 0 +#define wxUSE_VALIDATORS 0 +#define wxUSE_DC_CACHEING 0 +#define wxUSE_ACCEL 1 +#define wxUSE_GENERIC_DIALOGS_IN_MSW 0 +#define wxUSE_COMMON_DIALOGS 0 +#define wxUSE_TEXTDLG 0 +#define wxUSE_PROGRESSDLG 0 +#define wxUSE_BUSYINFO 0 +#define wxUSE_DIRDLG 0 +#define wxUSE_FONTDLG 0 +#define wxUSE_FILEDLG 0 +#define wxUSE_FILEDLG 0 +#define wxUSE_COLOURDLG 0 +#define wxUSE_CHOICEDLG 0 +#define wxUSE_NUMBERDLG 1 +#define wxUSE_STARTUP_TIPS 0 +#define wxUSE_MSGDLG 1 +#define wxUSE_SPLITTER 1 +#define wxUSE_TAB_DIALOG 0 + +#define wxUSE_JOYSTICK 0 +#define wxUSE_METAFILE 0 +#define wxUSE_ENH_METAFILE 0 +#define wxUSE_WIN_METAFILES_ALWAYS 0 +#define wxUSE_DOC_VIEW_ARCHITECTURE 0 +#define wxUSE_MDI_ARCHITECTURE 0 +#define wxUSE_PRINTING_ARCHITECTURE 0 +#define wxUSE_HTML 0 +#define wxUSE_PLOT 0 +#define wxUSE_GLCANVAS 0 +#define wxUSE_TREELAYOUT 0 +#define wxUSE_IPC 0 +#define wxUSE_HELP 0 +#define wxUSE_MS_HTML_HELP 0 +#define wxUSE_RESOURCES 0 +#define wxUSE_CONSTRAINTS 1 +#define wxUSE_CLIPBOARD 0 +#define wxUSE_DATAOBJ 1 +#define wxUSE_SPLINES 0 +#define wxUSE_DRAG_AND_DROP 0 +#define wxUSE_XPM_IN_MSW 1 +#define wxUSE_XPM 1 +#define wxUSE_IMAGE_LOADING_IN_MSW 1 +#define wxUSE_RESOURCE_LOADING_IN_MSW 0 +#define wxUSE_WX_RESOURCES 0 +#define wxUSE_POSTSCRIPT 0 +#define wxUSE_AFM_FOR_POSTSCRIPT 0 +#define wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW 0 +#define wxUSE_ODBC 0 +#define wxODBC_FWD_ONLY_CURSORS 0 +#define wxODBC_BACKWARD_COMPATABILITY 0 +#define REMOVE_UNUSED_ARG 1 +#define wxUSE_IOSTREAMH 0 +#define wxUSE_LIBPNG 0 +#define wxUSE_LIBJPEG 0 +#define wxUSE_LIBTIFF 0 +#define wxUSE_GIF 0 +#define wxUSE_PNM 0 +#define wxUSE_PCX 0 +#define wxUSE_MFC 0 +#define wxUSE_OLE 0 +#define wxUSE_CTL3D 0 +#define wxUSE_ITSY_BITSY 0 +#define wxUSE_DYNAMIC_CLASSES 1 + + +#elif defined(__WXPM__) + #define wxUSE_GUI 1 #define WXWIN_COMPATIBILITY 0 #define wxICON_IS_BITMAP 0 @@ -30,6 +202,9 @@ #define wxUSE_UNICODE 0 #define wxUSE_WCHAR_T 0 #define wxUSE_LOG 1 +#define wxUSE_LOGGUI 1 +#define wxUSE_LOGWINDOW 1 +#define wxUSE_LOG_DIALOG 0 #define wxUSE_THREADS 0 #define wxUSE_STREAMS 0 #define wxUSE_STD_IOSTREAM 0 @@ -49,15 +224,169 @@ #define wxUSE_FS_INET 0 #define wxUSE_ZIPSTREAM 0 #define wxUSE_ZLIB 0 +#define wxUSE_APPLE_IEEE 0 +#define wxUSE_FILE 1 +#define wxUSE_FFILE 1 +#define wxUSE_TEXTFILE 0 +#define wxUSE_INTL 0 +#define wxUSE_MENUS 1 +#define wxUSE_TOOLBAR 0 +#define wxUSE_TOOLBAR_NATIVE 0 +#define wxUSE_TOOLBAR_SIMPLE 0 +#define wxUSE_NOTEBOOK 1 +#define wxUSE_FONTMAP 0 +#define wxUSE_MIMETYPE 0 +#define wxUSE_IMAGE 1 +#define wxUSE_SYSTEM_OPTIONS 1 + +#define wxUSE_CONTROLS 1 +#define wxUSE_POPUPWIN 1 +#define wxUSE_TIPWINDOW 1 +#define wxUSE_BUTTON 1 +#define wxUSE_BMPBUTTON 1 +#define wxUSE_CALENDARCTRL 0 +#define wxUSE_CARET 1 +#define wxUSE_CHECKBOX 1 +#define wxUSE_CHECKLISTBOX 1 +#define wxUSE_CHOICE 0 +#define wxUSE_COMBOBOX 1 +#define wxUSE_GAUGE 1 +#define wxUSE_IMAGLIST 1 +#define wxUSE_LISTBOX 1 +#define wxUSE_LISTCTRL 0 +#define wxUSE_RADIOBOX 1 +#define wxUSE_RADIOBTN 1 +#define wxUSE_SASH 0 +#define wxUSE_SCROLLBAR 1 +#define wxUSE_SLIDER 1 +#define wxUSE_SPINBTN 1 +#define wxUSE_SPINCTRL 1 +#define wxUSE_STATBOX 1 +#define wxUSE_STATLINE 1 +#define wxUSE_STATTEXT 1 +#define wxUSE_STATBMP 1 +//#define wxUSE_STATUSBAR 0 +#define wxUSE_TEXTCTRL 1 +#define wxUSE_TOOLTIPS 0 +#define wxUSE_TREECTRL 0 + +#define wxUSE_NATIVE_STATUSBAR 0 +#define wxUSE_BUTTONBAR 0 +#define wxUSE_GRID 0 +#define wxUSE_NEW_GRID 0 +#define wxUSE_VALIDATORS 0 +#define wxUSE_DC_CACHEING 1 +#define wxUSE_ACCEL 1 +#define wxUSE_GENERIC_DIALOGS_IN_MSW 0 +#define wxUSE_COMMON_DIALOGS 0 +#define wxUSE_TEXTDLG 0 +#define wxUSE_PROGRESSDLG 0 +#define wxUSE_BUSYINFO 0 +#define wxUSE_DIRDLG 0 +#define wxUSE_FONTDLG 0 +#define wxUSE_FILEDLG 0 +#define wxUSE_COLOURDLG 0 +#define wxUSE_TEXTDLG 0 +#define wxUSE_CHOICEDLG 0 +#define wxUSE_NUMBERDLG 0 +#define wxUSE_STARTUP_TIPS 0 +#define wxUSE_MSGDLG 1 +#define wxUSE_SPLITTER 1 +#define wxUSE_TAB_DIALOG 0 + +#define wxUSE_METAFILE 0 +#define wxUSE_ENH_METAFILE 0 +#define wxUSE_WIN_METAFILES_ALWAYS 0 +#define wxUSE_DOC_VIEW_ARCHITECTURE 0 +#define wxUSE_MDI_ARCHITECTURE 0 +#define wxUSE_PRINTING_ARCHITECTURE 0 +#define wxUSE_HTML 0 +#define wxUSE_PLOT 0 +#define wxUSE_GLCANVAS 0 +#define wxUSE_TREELAYOUT 0 +#define wxUSE_IPC 0 +#define wxUSE_HELP 0 +#define wxUSE_MS_HTML_HELP 0 +#define wxUSE_WXHTML_HELP 0 +#define wxUSE_RESOURCES 0 +#define wxUSE_CONSTRAINTS 1 +#define wxUSE_CLIPBOARD 0 +#define wxUSE_DATAOBJ 1 +#define wxUSE_SPLINES 0 +#define wxUSE_DRAG_AND_DROP 0 +#define wxUSE_XPM_IN_MSW 1 +#define wxUSE_XPM 1 +#define wxUSE_IMAGE_LOADING_IN_MSW 1 +#define wxUSE_RESOURCE_LOADING_IN_MSW 0 +#define wxUSE_WX_RESOURCES 0 +#define wxUSE_POSTSCRIPT 0 +#define wxUSE_AFM_FOR_POSTSCRIPT 0 +#define wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW 0 +#define wxUSE_ODBC 0 +#define wxODBC_FWD_ONLY_CURSORS 0 +#define wxODBC_BACKWARD_COMPATABILITY 0 +#define REMOVE_UNUSED_ARG 1 +#define wxUSE_IOSTREAMH 0 +#define wxUSE_LIBPNG 0 +#define wxUSE_LIBJPEG 0 +#define wxUSE_LIBTIFF 0 +#define wxUSE_GIF 0 +#define wxUSE_PNM 0 +#define wxUSE_PCX 0 +#define wxUSE_MFC 0 +#define wxUSE_OLE 0 +#define wxUSE_CTL3D 0 +#define wxUSE_ITSY_BITSY 0 +#define wxUSE_DYNAMIC_CLASSES 1 + +#define wxUSE_JOYSTICK 1 +#define wxUSE_REGEX 0 +#define wxUSE_STATUSBAR 1 + +#else // !Mac, !OS2 + +#define wxUSE_GUI 1 +#define WXWIN_COMPATIBILITY 0 +#define wxICON_IS_BITMAP 0 +#define wxFONT_SIZE_COMPATIBILITY 0 +#define wxDIALOG_UNIT_COMPATIBILITY 0 +#define wxUSE_DEBUG_CONTEXT 0 +#define wxUSE_MEMORY_TRACING 0 +#define wxUSE_GLOBAL_MEMORY_OPERATORS 0 +#define wxUSE_DEBUG_NEW_ALWAYS 0 +#define wxUSE_ON_FATAL_EXCEPTION 0 +#define wxUSE_REGEX 0 + +#define wxUSE_UNICODE 0 +#define wxUSE_WCHAR_T 0 +#define wxUSE_LOG 1 +#define wxUSE_LOGGUI 1 +#define wxUSE_LOGWINDOW 1 +#define wxUSE_LOG_DIALOG 0 +#define wxUSE_THREADS 0 +#define wxUSE_STREAMS 0 +#define wxUSE_STD_IOSTREAM 0 +#define wxUSE_SERIAL 0 +#define wxUSE_LONGLONG 1 +#define wxUSE_TIMER 1 +#define wxUSE_STOPWATCH 1 +#define wxUSE_TIMEDATE 0 +#define wxUSE_DATETIME 1 +#define wxUSE_CONFIG 0 +#define wxUSE_CONFIG_NATIVE 0 +#define wxUSE_DIALUP_MANAGER 0 +#define wxUSE_DYNLIB_CLASS 0 +#define wxUSE_SOCKETS 0 #define wxUSE_FILESYSTEM 0 #define wxUSE_FS_ZIP 0 #define wxUSE_FS_INET 0 #define wxUSE_ZIPSTREAM 0 #define wxUSE_ZLIB 0 #define wxUSE_APPLE_IEEE 0 -#define wxUSE_FILE 0 +#define wxUSE_FILE 1 #define wxUSE_FFILE 1 #define wxUSE_TEXTFILE 0 +#define wxUSE_TEXTBUFFER 0 #define wxUSE_INTL 0 #define wxUSE_MENUS 1 #define wxUSE_TOOLBAR 0 @@ -67,9 +396,11 @@ #define wxUSE_FONTMAP 0 #define wxUSE_MIMETYPE 0 #define wxUSE_IMAGE 1 +#define wxUSE_SYSTEM_OPTIONS 1 #define wxUSE_CONTROLS 1 #define wxUSE_POPUPWIN 1 +#define wxUSE_TIPWINDOW 1 #define wxUSE_BUTTON 1 #define wxUSE_BMPBUTTON 1 #define wxUSE_CALENDARCTRL 0 @@ -93,7 +424,7 @@ #define wxUSE_STATLINE 1 #define wxUSE_STATTEXT 1 #define wxUSE_STATBMP 1 -#define wxUSE_STATUSBAR 0 +#define wxUSE_STATUSBAR 1 #define wxUSE_TEXTCTRL 1 #define wxUSE_TOOLTIPS 0 #define wxUSE_TREECTRL 0 @@ -103,6 +434,7 @@ #define wxUSE_GRID 0 #define wxUSE_NEW_GRID 0 #define wxUSE_VALIDATORS 0 +#define wxUSE_DC_CACHEING 1 #define wxUSE_ACCEL 1 #define wxUSE_GENERIC_DIALOGS_IN_MSW 0 #define wxUSE_COMMON_DIALOGS 0 @@ -112,14 +444,17 @@ #define wxUSE_DIRDLG 0 #define wxUSE_FONTDLG 0 #define wxUSE_FILEDLG 0 +#define wxUSE_COLOURDLG 0 #define wxUSE_TEXTDLG 0 #define wxUSE_CHOICEDLG 0 -#define wxUSE_NUMBERDLG 0 +#define wxUSE_NUMBERDLG 1 #define wxUSE_STARTUP_TIPS 0 #define wxUSE_MSGDLG 1 #define wxUSE_SPLITTER 1 #define wxUSE_TAB_DIALOG 0 +#define wxUSE_SPLASH 1 +#define wxUSE_JOYSTICK 0 #define wxUSE_METAFILE 0 #define wxUSE_ENH_METAFILE 0 #define wxUSE_WIN_METAFILES_ALWAYS 0 @@ -133,13 +468,15 @@ #define wxUSE_IPC 0 #define wxUSE_HELP 0 #define wxUSE_MS_HTML_HELP 0 +#define wxUSE_WXHTML_HELP 0 #define wxUSE_RESOURCES 0 #define wxUSE_CONSTRAINTS 1 -#define wxUSE_CLIPBOARD 1 -#define wxUSE_DATAOBJ 1 +#define wxUSE_CLIPBOARD 0 +#define wxUSE_DATAOBJ 1 #define wxUSE_SPLINES 0 #define wxUSE_DRAG_AND_DROP 0 #define wxUSE_XPM_IN_MSW 1 +#define wxUSE_XPM 1 #define wxUSE_IMAGE_LOADING_IN_MSW 1 #define wxUSE_RESOURCE_LOADING_IN_MSW 0 #define wxUSE_WX_RESOURCES 0 @@ -163,4 +500,8 @@ #define wxUSE_ITSY_BITSY 0 #define wxUSE_DYNAMIC_CLASSES 1 +#endif + +#define wxUSE_PALETTE 0 + #endif // _WX_UNIV_SETUP_H_