X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/3e6e2754a688f0db737e18fe4a138f83013ad8e9..b1d66b5415f7befb45e050d7097571642b8bfa56:/include/wx/univ/setup.h?ds=sidebyside diff --git a/include/wx/univ/setup.h b/include/wx/univ/setup.h index b5ef87546f..bc36b30ed5 100644 --- a/include/wx/univ/setup.h +++ b/include/wx/univ/setup.h @@ -13,9 +13,170 @@ #define _WX_UNIV_SETUP_H_ // ---------------------------------------------------------------------------- -// undef everything +// not all ports implement everything... // ---------------------------------------------------------------------------- +#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 @@ -57,6 +218,165 @@ #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 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_NATIVE 0 @@ -65,6 +385,7 @@ #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 @@ -91,7 +412,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 @@ -101,6 +422,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 @@ -110,14 +432,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 @@ -163,4 +488,8 @@ #define wxUSE_ITSY_BITSY 0 #define wxUSE_DYNAMIC_CLASSES 1 +#endif + +#define wxUSE_PALETTE 0 + #endif // _WX_UNIV_SETUP_H_