X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/a4876ea44c2c698f85b448346433f4e78ab53063..b36f57c252698ff932487d31ad1289e5ef659bc0:/setup/setup.hin diff --git a/setup/setup.hin b/setup/setup.hin index 16f8fc0268..2923f6565c 100644 --- a/setup/setup.hin +++ b/setup/setup.hin @@ -42,97 +42,82 @@ /* * Use zlib */ -#undef USE_ZLIB +#define wxUSE_ZLIB 0 /* - * Use gdk_imlib + * Use libpng */ -#undef USE_GDK_IMLIB +#define wxUSE_LIBPNG 0 /* - * Use libpng + * Use libjpeg */ -#undef USE_LIBPNG +#define wxUSE_LIBJPEG 0 /* * Use iODBC */ -#undef USE_ODBC +#define wxUSE_ODBC 0 /* * Use Threads */ -#undef USE_THREADS +#define wxUSE_THREADS 0 +/* + * Have glibc2 + */ +#define wxHAVE_GLIBC2 0 //------------------------------------------------------------------------ -// GUI control options +// GUI control options (always enabled in wxGTK) //------------------------------------------------------------------------ /* * Use gauge item */ -#undef USE_GAUGE +#define wxUSE_GAUGE 1 /* * Use combobox item */ -#undef USE_COMBOBOX +#define wxUSE_COMBOBOX 1 /* * Use scrollbar item */ -#undef USE_SCROLLBAR -/* - * Use notebook item - */ -#undef USE_NOTEBOOK -/* - * Use listctrl item - */ -#undef USE_LISTCTRL -/* - * Use treectrl item - */ -#undef USE_TREECTRL -/* - * Use grid item - */ -#undef USE_GRID +#define wxUSE_SCROLLBAR 1 /* - * Use tab dialog item + * Use scrollbar item */ -#undef USE_TAB_DIALOG +#define wxUSE_RADIOBUTTON 1 //------------------------------------------------------------------------ // non-GUI options //------------------------------------------------------------------------ -/* - * Use fraction class - */ -#undef USE_FRACTION /* * Use time and date classes */ -#undef USE_TIMEDATE +#define wxUSE_TIMEDATE 0 /* * Use config system */ -#undef USE_CONFIG +#define wxUSE_CONFIG 0 /* * Use intl system */ -#undef USE_INTL +#define wxUSE_INTL 0 /* * Use streams */ -#undef USE_STREAMS +#define wxUSE_STREAMS 0 /* - * Use wxFile + * Use class serialization */ -#undef USE_FILE +#define wxUSE_SERIAL 0 /* - * Use wxTextFile + * Use standard C++ streams if 1. If 0, use wxWin + * streams implementation. */ -#undef USE_TEXTFILE +#define wxUSE_STD_IOSTREAM 1 /* - * Use class serialization + * Use constraints mechanism */ -#undef USE_SERIAL +#define wxUSE_CONSTRAINTS 1 //------------------------------------------------------------------------ // PS options @@ -142,12 +127,30 @@ * Use font metric files in GetTextExtent for wxPostScriptDC * Use consistent PostScript fonts for AFM and printing (!) */ -#undef USE_AFM_FOR_POSTSCRIPT -#undef WX_NORMALIZED_PS_FONTS +#define wxUSE_AFM_FOR_POSTSCRIPT 0 +#define WX_NORMALIZED_PS_FONTS 0 /* * Use PostScript device context */ -#undef USE_POSTSCRIPT +#define wxUSE_POSTSCRIPT 0 + +//------------------------------------------------------------------------ +// wxString options +//------------------------------------------------------------------------ + +/* + * Compile wxString with wide character (Unicode) support? + */ +#define wxUSE_UNICODE 0 + +/* + * Work around a bug in GNU libc 5.x wcstombs() implementation. + * + * Note that you must link your programs with libc.a if you enable this and you + * have libc 5 (you should enable this for libc6 where wcsrtombs() is + * thread-safe version of wcstombs()). + */ +#define wxUSE_WCSRTOMBS 0 //------------------------------------------------------------------------ // misc options @@ -156,40 +159,40 @@ /* * Use Interprocess communication */ -#undef USE_IPC +#define wxUSE_IPC 0 /* * Use wxGetResource & wxWriteResource (change .Xdefaults) */ -#undef USE_RESOURCES +#define wxUSE_RESOURCES 0 /* * Use clipboard */ -#undef USE_CLIPBOARD +#define wxUSE_CLIPBOARD 0 /* - * Use dnd + * Use tooltips */ -#undef USE_DND +#define wxUSE_TOOLTIPS 0 /* - * Use wxWindows layout constraint system + * Use dnd */ -#undef USE_CONSTRAINTS - +#define wxUSE_DRAG_AND_DROP 0 + //------------------------------------------------------------------------ // architecture options //------------------------------------------------------------------------ - + /* * Use the mdi architecture */ -#undef USE_MDI_ARCHITECTURE +#define wxUSE_MDI_ARCHITECTURE 0 /* * Use the document/view architecture */ -#undef USE_DOC_VIEW_ARCHITECTURE +#define wxUSE_DOC_VIEW_ARCHITECTURE 0 /* * Use the print/preview architecture */ -#undef USE_PRINTING_ARCHITECTURE +#define wxUSE_PRINTING_ARCHITECTURE 0 //------------------------------------------------------------------------ // Prolog and wxWindows' resource system options @@ -198,70 +201,58 @@ /* * Use Prolog IO */ -#undef USE_PROLOGIO +#define wxUSE_PROLOGIO 0 /* - * Use Remote Procedure Call (Needs USE_IPC and USE_PROLOGIO) + * Use Remote Procedure Call (Needs wxUSE_IPC and wxUSE_PROLOGIO) */ -#undef USE_RPC +#define wxUSE_RPC 0 /* - * Use wxWindows resource loading (.wxr-files) (Needs USE_PROLOGIO 1) + * Use wxWindows resource loading (.wxr-files) (Needs wxUSE_PROLOGIO 1) */ -#undef USE_WX_RESOURCES +#define wxUSE_WX_RESOURCES 0 //------------------------------------------------------------------------ // the rest //------------------------------------------------------------------------ /* - * Implement a GLCanvas class as an interface to OpenGL, using the GLX - * extension to the X11 protocol. You can use the (free) Mesa library - * if you don't have a 'real' OpenGL. + * Use wxWindows help facility (needs wxUSE_IPC 1) */ -#undef USE_GLX -/* - * Use wxWindows help facility (needs USE_IPC 1) - */ -#undef USE_HELP +#define wxUSE_HELP 0 /* * Use iostream.h rather than iostream */ -#undef USE_IOSTREAMH -/* - * Use Metafile and Metafile device context - */ -#undef USE_METAFILE -/* - * Use wxGraph - */ -#undef USE_WXGRAPH -/* - * Use wxTree - */ -#undef USE_WXTREE +#define wxUSE_IOSTREAMH 0 /* * Use Apple Ieee-double converter */ -#undef USE_APPLE_IEEE +#define wxUSE_APPLE_IEEE 0 /* Compatibility with 1.66 API. Level 0: no backward compatibility, all new features Level 1: wxDC, OnSize (etc.) compatibility, but some new features such as event tables */ -#define WXWIN_COMPATIBILITY 1 +#define WXWIN_COMPATIBILITY 0 /* * Enables debugging: memory tracing, assert, etc., contains debug level */ -#undef WXDEBUG +#define WXDEBUG 0 /* * Enables debugging version of wxObject::new and wxObject::delete (IF WXDEBUG) * WARNING: this code may not work with all architectures, especially * if alignment is an issue. */ -#undef USE_MEMORY_TRACING +#define wxUSE_MEMORY_TRACING 0 /* * Enable debugging version of global memory operators new and delete * Disable it, If this causes problems (e.g. link errors) */ -#undef USE_GLOBAL_MEMORY_OPERATORS +#define wxUSE_DEBUG_NEW_ALWAYS 1 +/* + * In debug mode, causes new to be defined to + * be WXDEBUG_NEW (see object.h). If this causes + * problems (e.g. link errors), set this to 0. + */ +#define wxUSE_GLOBAL_MEMORY_OPERATORS 0 /* * Matthews garbage collection (used for MrEd?) */ @@ -269,11 +260,11 @@ /* * Use splines */ -#define USE_SPLINES 1 +#define wxUSE_SPLINES 1 /* - * USE_DYNAMIC_CLASSES is TRUE for the Xt port + * wxUSE_DYNAMIC_CLASSES is TRUE for the Xt port */ -#define USE_DYNAMIC_CLASSES 1 +#define wxUSE_DYNAMIC_CLASSES 1 /* * Disable this if your compiler can't cope * with omission of prototype parameters. @@ -360,6 +351,12 @@ /* Define if you don't have vprintf but do have _doprnt. */ #undef HAVE_DOPRNT +/* Define if you have vprintf() */ +#undef HAVE_VPRINTF + +/* Define if you have vsnprintf() */ +#undef HAVE_VSNPRINTF + /* Define if your system has its own `getloadavg' function. */ #undef HAVE_GETLOADAVG @@ -480,6 +477,7 @@ #undef SIZEOF_INT #undef SIZEOF_INT_P #undef SIZEOF_LONG +#undef SIZEOF_LONG_LONG /* Define to `unsigned' if doesn't define. */ #undef size_t