X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/1d6d8f171781297827bdafbc0f92c032a16c8e7c..dcbbda5451ead669e94e17a2a4d206295bed183b:/include/wx/msw/wince/setup.h diff --git a/include/wx/msw/wince/setup.h b/include/wx/msw/wince/setup.h index 196353ee0d..747deedc12 100644 --- a/include/wx/msw/wince/setup.h +++ b/include/wx/msw/wince/setup.h @@ -32,7 +32,7 @@ // Default is 0 // // Recommended setting: 0 (please update your code) -#define WXWIN_COMPATIBILITY_2_2 1 +#define WXWIN_COMPATIBILITY_2_2 0 // This setting determines the compatibility with 2.4 API: set it to 0 to // flag all cases of using deprecated functions. @@ -67,7 +67,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 +136,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. // @@ -146,12 +146,12 @@ // // Default is 0 // -// Recommended setting: 0 (unless you only plan to use Windows NT/2000/XP) +// Recommended setting: 1 #ifndef wxUSE_UNICODE - #define wxUSE_UNICODE 0 + #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 @@ -181,6 +181,19 @@ // global features // ---------------------------------------------------------------------------- +// Compile library in exception-safe mode? If set to 1, the library will try to +// behave correctly in presence of exceptions (even though it still will not +// use the exceptions itself) and notify the user code about any unhandled +// exceptions. If set to 0, propagation of the exceptions through the library +// code will lead to undefined behaviour -- but the code itself will be +// slightly smaller and faster. +// +// Default is 1 +// +// Recommended setting: depends on whether you intend to use C++ exceptions +// in your own code (1 if you do, 0 if you don't) +#define wxUSE_EXCEPTIONS 0 + // Set wxUSE_EXTENDED_RTTI to 1 to use extended RTTI // // Default is 0 @@ -233,9 +246,9 @@ // Default is 1 // // Recommended setting: 0 unless you do plan to develop MT applications -#define wxUSE_THREADS 0 +#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. @@ -386,7 +399,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. // @@ -431,8 +444,8 @@ // wxSystemOptions class #define wxUSE_SYSTEM_OPTIONS 1 -// wxWave class -#define wxUSE_WAVE 1 +// wxSound class +#define wxUSE_SOUND 1 // XML parsing classes. Note that their API will change in the future, so // using wxXmlDocument and wxXmlNode in your app is not recommended. @@ -470,7 +483,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 @@ -509,7 +522,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 @@ -530,9 +547,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 @@ -644,7 +658,7 @@ #define wxUSE_DIB_FOR_BITMAP 0 // Set this to 1 to enable wxDIB -#define wxUSE_WXDIB 0 +#define wxUSE_WXDIB 1 // ---------------------------------------------------------------------------- // common dialogs @@ -765,6 +779,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 @@ -938,16 +961,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 @@ -971,7 +994,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. @@ -1048,9 +1071,6 @@ // (notably, wxNotebook pages) #define wxUSE_UXTHEME_AUTO 0 -// Set to 1 to if you're developing for MS SmartPhone -#define wxUSE_SMARTPHONE 0 - // ---------------------------------------------------------------------------- // obsolete settings // ----------------------------------------------------------------------------