X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/8cc4850c2d5cf91c7e1909862846e8ada4c52961..8ea92b4d7792987769774ac381685dae15c70454:/include/wx/msw/wince/setup.h diff --git a/include/wx/msw/wince/setup.h b/include/wx/msw/wince/setup.h index 59d2c0e571..b8c2d34f8b 100644 --- a/include/wx/msw/wince/setup.h +++ b/include/wx/msw/wince/setup.h @@ -44,14 +44,6 @@ // Recommended setting: 0 (please update your code) #define WXWIN_COMPATIBILITY_2_4 1 -// Define as 1 for font size to be backward compatible to 1.63 and earlier. -// 1.64 and later define point sizes to be compatible with Windows. -// -// Default is 0 -// -// Recommended setting: 0 -#define wxFONT_SIZE_COMPATIBILITY 0 - // Set to 0 for accurate dialog units, else 1 to be as per 2.1.16 and before. // If migrating between versions, your dialogs may seem to shrink. // @@ -67,7 +59,7 @@ // Generic comment about debugging settings: they are very useful if you don't // use any other memory leak detection tools such as Purify/BoundsChecker, but // are probably redundant otherwise. Also, Visual C++ CRT has the same features -// as wxWindows memory debugging subsystem built in since version 5.0 and you +// as wxWidgets memory debugging subsystem built in since version 5.0 and you // may prefer to use it instead of built in memory debugging code because it is // faster and more fool proof. // @@ -136,7 +128,7 @@ // Unicode support // ---------------------------------------------------------------------------- -// Set wxUSE_UNICODE to 1 to compile wxWindows in Unicode mode: wxChar will be +// Set wxUSE_UNICODE to 1 to compile wxWidgets in Unicode mode: wxChar will be // defined as wchar_t, wxString will use Unicode internally. If you set this // to 1, you must use wxT() macro for all literal strings in the program. // @@ -151,7 +143,7 @@ #define wxUSE_UNICODE 1 #endif -// Set wxUSE_UNICODE_MSLU to 1 if you want to compile wxWindows in Unicode mode +// Set wxUSE_UNICODE_MSLU to 1 if you want to compile wxWidgets in Unicode mode // and be able to run compiled apps under Windows 9x as well as NT/2000/XP. // This setting enables use of unicows.dll from MSLU (MS Layer for Unicode, see // http://www.microsoft.com/globaldev/handson/dev/mslu_announce.mspx). Note that @@ -248,7 +240,7 @@ // Recommended setting: 0 unless you do plan to develop MT applications #define wxUSE_THREADS 1 -// If enabled (1), compiles wxWindows streams classes +// If enabled (1), compiles wxWidgets streams classes #define wxUSE_STREAMS 1 // Use standard C++ streams if 1. If 0, use wxWin streams implementation. @@ -399,7 +391,7 @@ // If enabled, the code written by Apple will be used to write, in a portable // way, float on the disk. See extended.c for the license which is different -// from wxWindows one. +// from wxWidgets one. // // Default is 1. // @@ -439,21 +431,53 @@ // // Recommended setting: 1 if your compiler supports it, if it doesn't please // contribute us a makefile for src/regex for it -#define wxUSE_REGEX 1 +#define wxUSE_REGEX 0 // wxSystemOptions class #define wxUSE_SYSTEM_OPTIONS 1 -// wxWave class -#define wxUSE_WAVE 1 +// wxSound class +#define wxUSE_SOUND 1 + +// Use wxMediaCtrl +// +// Default is 1. +// +// Recommended setting: 1 +#define wxUSE_MEDIACTRL 1 + +// Use QuickTime +// +// Default is 0 +// +// Recommended setting: 1 if you have the QT SDK installed and you need it, else 0 +#define wxUSE_QUICKTIME 0 + +// Use DirectShow +// +// Default is 0 +// +// Recommended setting: 1 if the DirectX 7 SDK is installed (highly recommended), else 0 +#define wxUSE_DIRECTSHOW 1 + +// Use wxWidget's XRC XML-based resource system. Recommended. +// +// Default is 1 +// +// Recommended setting: 1 (requires wxUSE_XML) +#define wxUSE_XRC 1 // XML parsing classes. Note that their API will change in the future, so // using wxXmlDocument and wxXmlNode in your app is not recommended. // // Default is 1 // -// Recommended setting: 1 (needed by XRC) -#define wxUSE_XML 1 +// Recommended setting: 1 (required by XRC) +#if wxUSE_XRC +# define wxUSE_XML 1 +#else +# define wxUSE_XML 0 +#endif // ---------------------------------------------------------------------------- // Individual GUI controls @@ -483,7 +507,7 @@ // Recommended setting: 1 (may be set to 0) #define wxUSE_TIPWINDOW 1 -// Each of the settings below corresponds to one wxWindows control. They are +// Each of the settings below corresponds to one wxWidgets control. They are // all switched on by default but may be disabled if you are sure that your // program (including any standard dialogs it can show!) doesn't need them and // if you desperately want to save some space. If you use any of these you must @@ -522,7 +546,11 @@ // Default is 1 // // Recommended setting: 1 +#ifdef __SMARTPHONE__ +#define wxUSE_STATUSBAR 0 +#else #define wxUSE_STATUSBAR 1 +#endif // Two status bar implementations are available under Win32: the generic one // or the wrapper around native control. For native look and feel the native @@ -543,9 +571,6 @@ #define wxUSE_TOOLBAR 1 #define wxUSE_TOOLBAR_NATIVE 1 -// this setting is obsolete, value is ignored -#define wxUSE_BUTTONBAR 1 - // wxNotebook is a control with several "tabs" located on one of its sides. It // may be used ot logically organise the data presented to the user instead of // putting everything in one huge dialog. It replaces wxTabControl and related @@ -564,6 +589,14 @@ // Recommended setting: 1 #define wxUSE_LISTBOOK 1 +// wxChoicebook control is similar to wxNotebook but uses wxChoice instead of +// the tabs +// +// Default is 1. +// +// Recommended setting: 1 +#define wxUSE_CHOICEBOOK 1 + // wxTabDialog is a generic version of wxNotebook but it is incompatible with // the new class. It shouldn't be used in new code. // @@ -657,21 +690,12 @@ #define wxUSE_DIB_FOR_BITMAP 0 // Set this to 1 to enable wxDIB -#define wxUSE_WXDIB 0 +#define wxUSE_WXDIB 1 // ---------------------------------------------------------------------------- // common dialogs // ---------------------------------------------------------------------------- -// Define 1 to use generic dialogs in Windows, even though they duplicate -// native common dialog (e.g. wxColourDialog). This is mainly useful for -// testing. -// -// Default is 0 -// -// Recommended setting: 0 -#define wxUSE_GENERIC_DIALOGS_IN_MSW 0 - // On rare occasions (e.g. using DJGPP) may want to omit common dialogs (e.g. // file selector, printer dialog). Switching this off also switches off the // printing architecture and interactive wxPrinterDC. @@ -778,6 +802,15 @@ // Set to 0 to disable document/view architecture #define wxUSE_DOC_VIEW_ARCHITECTURE 1 +// Set to 0 to disable MDI support. +// +// Requires wxUSE_NOTEBOOK under platforms other than MSW. +// +// Default is 1. +// +// Recommended setting: 1, can be safely set to 0. +#define wxUSE_MDI 0 + // Set to 0 to disable MDI document/view architecture #define wxUSE_MDI_ARCHITECTURE 0 @@ -791,7 +824,7 @@ // // Recommended setting: 1 (wxHTML is great!), set to 0 if you want compile a // smaller library. -#define wxUSE_HTML 0 +#define wxUSE_HTML 1 // Setting wxUSE_GLCANVAS to 1 enables OpenGL support. You need to have OpenGL // headers and libraries to be able to compile the library with wxUSE_GLCANVAS @@ -904,7 +937,7 @@ // 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. -#define wxODBC_FWD_ONLY_CURSORS 1 +#define wxODBC_FWD_ONLY_CURSORS 1 // Default is 0. Set to 1 to use the deprecated classes, enum types, function, // member variables. With a setting of 1, full backward compatability with the @@ -951,16 +984,16 @@ #define wxUSE_IMAGE 1 // Set to 1 for PNG format support (requires libpng). Also requires wxUSE_ZLIB. -#define wxUSE_LIBPNG 0 +#define wxUSE_LIBPNG 1 // Set to 1 for JPEG format support (requires libjpeg) -#define wxUSE_LIBJPEG 0 +#define wxUSE_LIBJPEG 1 // Set to 1 for TIFF format support (requires libtiff) #define wxUSE_LIBTIFF 0 // Set to 1 for GIF format support -#define wxUSE_GIF 0 +#define wxUSE_GIF 1 // Set to 1 for PNM format support #define wxUSE_PNM 0 @@ -984,7 +1017,7 @@ // Windows-only settings // ---------------------------------------------------------------------------- -// Set this to 1 if you want to use wxWindows and MFC in the same program. This +// Set this to 1 if you want to use wxWidgets and MFC in the same program. This // will override some other settings (see below) // // Default is 0. @@ -1001,18 +1034,6 @@ // Recommended setting: 1 #define wxUSE_OLE 1 -// Set this to 1 to use Microsoft CTL3D library for "3D-look" under Win16 or NT -// 3.x. This setting is ignored under Win9x and NT 4.0+. -// -// Default is 0 for (most) Win32 (systems), 1 for Win16 -// -// Recommended setting: same as default -#if defined(__WIN95__) -#define wxUSE_CTL3D 0 -#else -#define wxUSE_CTL3D 1 -#endif - // Define as 1 to use Microsoft's ItsyBitsy small title bar library, for // wxMiniFrame. This setting is only used for Win3.1; Win9x and NT use native // miniframes support instead. @@ -1061,26 +1082,6 @@ // (notably, wxNotebook pages) #define wxUSE_UXTHEME_AUTO 0 -// Set to 1 if you're developing for MS SmartPhone -#define wxUSE_SMARTPHONE 0 - -// Set to 1 if you want to maintain a PocketPC-style UI on -// Windows CE .NET. If 0, wxWindows will use a commandbar -// for the menubar, and a normal separate toolbar as per the -// desktop implementation. If 1, wxWindows will combine -// the toolbar and menubar as per the PocketPC implementation. -// -// Note that at present, the dynamic loading of PocketPC -// shell functions on WinCE .NET is not yet done, and a -// simple commandbar implementation is used instead of the -// PocketPC one. The intention is to use the PocketPC style -// when available (when wxUSE_POCKETPC_UI is 1). -// -// So if you're using WinCE .NET, and wxUSE_POCKETPC_UI is 0, -// you will be able to create separate toolbars and menubars, -// but _not_ the combined toolbar/menubar. -#define wxUSE_POCKETPC_UI 1 - // ---------------------------------------------------------------------------- // obsolete settings // ----------------------------------------------------------------------------