X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/b3402d0df8c9f763da1e32fc28c824014e5516c6..9b33fe0222417a1599876ef82c969c322a8a0556:/include/wx/msw/setup0.h diff --git a/include/wx/msw/setup0.h b/include/wx/msw/setup0.h index c6de668c61..9a7002fcd6 100644 --- a/include/wx/msw/setup0.h +++ b/include/wx/msw/setup0.h @@ -160,6 +160,27 @@ #define wxUSE_CARET 1 #define wxUSE_SLIDER 1 +// ---------------------------------------------------------------------------- +// Metafiles support +// ---------------------------------------------------------------------------- + +// Windows supports the graphics format known as metafile which is, though not +// portable, is widely used under Windows and so is supported by wxWin (under +// Windows only, of course). Win16 (Win3.1) used the so-called "Window +// MetaFiles" or WMFs which were replaced with "Enhanced MetaFiles" or EMFs in +// Win32 (Win9x, NT, 2000). Both of these are supported in wxWin and, by +// default, WMFs will be used under Win16 and EMFs under Win32. This may be +// changed by setting wxUSE_WIN_METAFILES_ALWAYS to 1 and/or setting +// wxUSE_ENH_METAFILE to 0. You may also set wxUSE_METAFILE to 0 to not compile +// in any metafile related classes at all. +// +// Default is 1 for wxUSE_ENH_METAFILE and 0 for wxUSE_WIN_METAFILES_ALWAYS. +// +// Recommended setting: default or 0 for everything for portable programs. +#define wxUSE_METAFILE 1 +#define wxUSE_ENH_METAFILE 1 +#define wxUSE_WIN_METAFILES_ALWAYS 0 + // ---------------------------------------------------------------------------- // Postscript support settings // ---------------------------------------------------------------------------- @@ -168,8 +189,6 @@ // 0 for no PostScript device context #define wxUSE_AFM_FOR_POSTSCRIPT 0 // 1 to use font metric files in GetTextExtent -#define wxUSE_METAFILE 1 - // 0 for no Metafile and metafile device context #define wxUSE_IPC 1 // 0 for no interprocess comms // Note: wxHELP uses IPC under X so these are interdependent! @@ -256,13 +275,15 @@ #define wxUSE_ODBC 0 // Define 1 to use ODBC classes -#define wxODBC_FWD_ONLY_CURSORS 1 - // Some databases/ODBC drivers only allow forward scrolling cursors. - // Unless you specifically want to use backward scrolling - // cursors, and you know that all of the databases/ODBC drivers - // that you will use these odbc classes with allow backward - // scrolling cursors, this setting should remain set to 1 - // for maximum database/driver compatibilty +#define wxODBC_FWD_ONLY_CURSORS 1 + // For backward compatibility reasons, this parameter now only + // controls the default scrolling method used by cursors. This + // default behavior can be overriden by setting the second param + // of wxDB::GetDbConnection() to indicate whether the connection + // (and any wxTable()s that use the connection) should support + // forward only scrolling of cursors, or both forward and backward + // Support for backward scrolling cursors is dependent on the + // data source as well as the ODBC driver being used. #ifndef __MWERKS__ #define wxUSE_IOSTREAMH 1 @@ -304,7 +325,7 @@ // Use PCX bitmap/image code #define wxUSE_SERIAL 0 // Use serialization (requires utils/serialize) -#define wxUSE_DYNLIB_CLASS 0 +#define wxUSE_DYNLIB_CLASS 1 // Compile in wxLibrary class for run-time // DLL loading and function calling #define wxUSE_TOOLTIPS 1