X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/4ef29fb55822955622f7a243b064cbf541b4fe78..abdb7725e101288775e9752eecaac4dbc4fcf409:/include/wx/msw/setup0.h diff --git a/include/wx/msw/setup0.h b/include/wx/msw/setup0.h index 7776e3737c..eb4094aaac 100644 --- a/include/wx/msw/setup0.h +++ b/include/wx/msw/setup0.h @@ -154,10 +154,10 @@ // Set wxUSE_UNICODE_MSLU to 1 if you want to compile wxWindows 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 -// you will have to modify the makefiles to include unicows.lib import library -// as the first library (if you use MSVC, you can run the makefile with "nmake -// MSLU=1 UNICODE=1" command). +// http://www.microsoft.com/globaldev/handson/dev/mslu_announce.mspx). Note +// that you will have to modify the makefiles to include unicows.lib import +// library as the first library (see installation instructions in install.txt +// to learn how to do it when building the library or samples). // // If your compiler doesn't have unicows.lib, you can get a version of it at // http://libunicows.sourceforge.net @@ -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 1 + // Set wxUSE_EXTENDED_RTTI to 1 to use extended RTTI // // Default is 0 @@ -188,6 +201,11 @@ // Recommended setting: 0 #define wxUSE_EXTENDED_RTTI 0 +#if defined(__BORLANDC__) +#undef wxUSE_EXTENDED_RTTI +#define wxUSE_EXTENDED_RTTI 1 +#endif + // 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. @@ -377,7 +395,7 @@ #define wxUSE_ZIPSTREAM 1 // Set to 1 to compile wxZlibInput/OutputStream classes. Also required by -// wxUSE_LIBPNG. +// wxUSE_LIBPNG #define wxUSE_ZLIB 1 // If enabled, the code written by Apple will be used to write, in a portable @@ -414,6 +432,16 @@ // Define this to use wxURL class. #define wxUSE_URL 1 +// Define this to use native platform url and protocol support. +// Currently valid only for MS-Windows. +// Note: if you set this to 1, you can open ftp/http/gopher sites +// and obtain a valid input stream for these sites +// even when you set wxUSE_PROTOCOL_FTP/HTTP to 0. +// Doing so reduces the code size. +// +// This code is experimental and subject to change. +#define wxUSE_URL_NATIVE 0 + // Support for regular expression matching via wxRegEx class: enable this to // use POSIX regular expressions in your code. You need to compile regex // library from src/regex to use it under Windows. @@ -427,8 +455,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. @@ -1039,9 +1067,6 @@ // (notably, wxNotebook pages) #define wxUSE_UXTHEME_AUTO 1 -// Set to 1 to if you're developing for MS SmartPhone -#define wxUSE_SMARTPHONE 0 - // ---------------------------------------------------------------------------- // obsolete settings // ----------------------------------------------------------------------------