X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/8a82c9ecc9a2cba9727b538c818ebdba243eacbc..23bf4018750c8e382a601a45740dec53f04fb36c:/include/wx/msw/wince/setup.h diff --git a/include/wx/msw/wince/setup.h b/include/wx/msw/wince/setup.h index 98d791548a..a836f82a02 100644 --- a/include/wx/msw/wince/setup.h +++ b/include/wx/msw/wince/setup.h @@ -26,31 +26,13 @@ // compatibility settings // ---------------------------------------------------------------------------- -// This setting determines the compatibility with 1.68 API: -// Level 0: no backward compatibility, all new features -// Level 1: some extra methods are defined for compatibility. -// -// Default is 0. -// -// Recommended setting: 0 (in fact the compatibility code is now very minimal -// so there is little advantage to setting it to 1. -#define WXWIN_COMPATIBILITY 0 - -// This setting determines the compatibility with 2.0 API: set it to 1 to -// enable it -// -// Default is 0. -// -// Recommended setting: 0 (please update your code instead!) -#define WXWIN_COMPATIBILITY_2 0 - // This setting determines the compatibility with 2.2 API: set it to 1 to // enable it but please consider updating your code instead. // // 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. @@ -164,9 +146,9 @@ // // 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 @@ -199,6 +181,26 @@ // 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 +// +// Recommended setting: 0 +#define wxUSE_EXTENDED_RTTI 0 + // Set wxUSE_STL to 1 to derive wxList(Foo) and wxArray(Foo) from // std::list and std::vector, with a compatibility interface, // and for wxHashMap to be implemented with templates. @@ -244,7 +246,7 @@ // 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 #define wxUSE_STREAMS 1 @@ -442,8 +444,16 @@ // 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. +// +// Default is 1 +// +// Recommended setting: 1 (needed by XRC) +#define wxUSE_XML 1 // ---------------------------------------------------------------------------- // Individual GUI controls @@ -546,6 +556,14 @@ // Recommended setting: 1 #define wxUSE_NOTEBOOK 1 +// wxListbook control is similar to wxNotebook but uses wxListCtrl instead of +// the tabs +// +// Default is 1. +// +// Recommended setting: 1 +#define wxUSE_LISTBOOK 1 + // wxTabDialog is a generic version of wxNotebook but it is incompatible with // the new class. It shouldn't be used in new code. // @@ -639,7 +657,7 @@ #define wxUSE_DIB_FOR_BITMAP 0 // Set this to 1 to enable wxDIB -#define wxUSE_WXDIB 0 +#define wxUSE_WXDIB 1 // ---------------------------------------------------------------------------- // common dialogs @@ -933,16 +951,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 @@ -1043,8 +1061,26 @@ // (notably, wxNotebook pages) #define wxUSE_UXTHEME_AUTO 0 -// Set to 1 to 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. + +// NOW OBSOLETE: we test WIN32_PLATFORM_PSPC and WIN32_PLATFORM_WFSP +// instead + +// #define wxUSE_POCKETPC_UI 1 // ---------------------------------------------------------------------------- // obsolete settings