X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/e766c8a9ad51ecf73e8f1641992f1007ee9e5e0a..10769d8c47c21fe0ec5034726791a5ad4cf19475:/include/wx/univ/setup.h diff --git a/include/wx/univ/setup.h b/include/wx/univ/setup.h index 24f7b684c7..1873148307 100644 --- a/include/wx/univ/setup.h +++ b/include/wx/univ/setup.h @@ -13,9 +13,21 @@ #define _WX_UNIV_SETUP_H_ // ---------------------------------------------------------------------------- -// undef everything +// not all ports implement everything... // ---------------------------------------------------------------------------- -#ifdef __WXMAC__ + +// 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 @@ -63,17 +75,19 @@ #define wxUSE_FFILE 1 #define wxUSE_TEXTFILE 0 #define wxUSE_INTL 0 -#define wxUSE_MENUS 0 // was 1 -#define wxUSE_TOOLBAR 0 +#define wxUSE_MENUS 0 // was 1 +#define wxUSE_TOOLBAR 1 #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 @@ -97,7 +111,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 @@ -107,6 +121,7 @@ #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 @@ -116,14 +131,16 @@ #define wxUSE_DIRDLG 0 #define wxUSE_FONTDLG 0 #define wxUSE_FILEDLG 0 -#define wxUSE_TEXTDLG 0 +#define wxUSE_FILEDLG 0 +#define wxUSE_COLOURDLG 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_JOYSTICK 0 #define wxUSE_METAFILE 0 #define wxUSE_ENH_METAFILE 0 #define wxUSE_WIN_METAFILES_ALWAYS 0 @@ -156,12 +173,9 @@ #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_ICO_CUR 1 + #define wxUSE_MFC 0 #define wxUSE_OLE 0 #define wxUSE_CTL3D 0 @@ -169,7 +183,7 @@ #define wxUSE_DYNAMIC_CLASSES 1 -#else +#elif defined(__WXPM__) #define wxUSE_GUI 1 #define WXWIN_COMPATIBILITY 0 @@ -212,17 +226,175 @@ #define wxUSE_FFILE 1 #define wxUSE_TEXTFILE 0 #define wxUSE_INTL 0 +#define wxUSE_MENUS 1 +#define wxUSE_TOOLBAR 1 +#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_ICO_CUR 1 + +#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 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 +#define wxUSE_TOOLBAR 1 #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 @@ -246,7 +418,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 @@ -256,6 +428,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 @@ -265,14 +438,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 @@ -312,6 +488,9 @@ #define wxUSE_GIF 0 #define wxUSE_PNM 0 #define wxUSE_PCX 0 + +#define wxUSE_ICO_CUR 1 + #define wxUSE_MFC 0 #define wxUSE_OLE 0 #define wxUSE_CTL3D 0 @@ -320,4 +499,14 @@ #endif +#define wxUSE_PALETTE 0 + +#define wxUSE_LIBPNG 0 +#define wxUSE_LIBJPEG 0 +#define wxUSE_LIBTIFF 0 +#define wxUSE_IFF 0 +#define wxUSE_GIF 0 +#define wxUSE_PNM 0 +#define wxUSE_PCX 0 + #endif // _WX_UNIV_SETUP_H_