Removed WXWIN_COMPATIBILITY_2_2 together with code guarded by it.
Changed default for WXWIN_COMPATIBILITY_2_4 to 0. Added WXWIN_COMPATIBILITY_2_6 (defaults to 1). Ran build/update-setup-h. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35858 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -27,15 +27,15 @@
|
||||
// compatibility settings
|
||||
// ----------------------------------------------------------------------------
|
||||
|
||||
// This setting determines the compatibility with 2.2 API: set it to 1 to
|
||||
// This setting determines the compatibility with 2.4 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 0
|
||||
#define WXWIN_COMPATIBILITY_2_4 0
|
||||
|
||||
// This setting determines the compatibility with 2.4 API: set it to 0 to
|
||||
// This setting determines the compatibility with 2.6 API: set it to 0 to
|
||||
// flag all cases of using deprecated functions.
|
||||
//
|
||||
// Default is 1 but please try building your code with 0 as the default will
|
||||
@@ -43,7 +43,7 @@
|
||||
// in the version after it completely.
|
||||
//
|
||||
// Recommended setting: 0 (please update your code)
|
||||
#define WXWIN_COMPATIBILITY_2_4 1
|
||||
#define WXWIN_COMPATIBILITY_2_6 1
|
||||
|
||||
// MSW-only: Set to 0 for accurate dialog units, else 1 for old behaviour when
|
||||
// default system font is used for wxWindow::GetCharWidth/Height() instead of
|
||||
@@ -120,7 +120,7 @@
|
||||
// Default is 1
|
||||
//
|
||||
// Recommended setting: 1 if your compiler supports it.
|
||||
#define wxUSE_ON_FATAL_EXCEPTION 0
|
||||
#define wxUSE_ON_FATAL_EXCEPTION 1
|
||||
|
||||
// Set this to 1 to be able to generate a human-readable (unlike
|
||||
// machine-readable minidump created by wxCrashReport::Generate()) stack back
|
||||
@@ -129,7 +129,7 @@
|
||||
// Default is 1 if supported by the compiler.
|
||||
//
|
||||
// Recommended setting: 1, set to 0 if your programs never crash
|
||||
#define wxUSE_STACKWALKER 0
|
||||
#define wxUSE_STACKWALKER 1
|
||||
|
||||
// Set this to 1 to compile in wxDebugReport class which allows you to create
|
||||
// and optionally upload to your web site a debug report consisting of back
|
||||
@@ -139,7 +139,7 @@
|
||||
//
|
||||
// Recommended setting: 1, it is compiled into a separate library so there
|
||||
// is no overhead if you don't use it
|
||||
#define wxUSE_DEBUGREPORT 0
|
||||
#define wxUSE_DEBUGREPORT 1
|
||||
|
||||
// ----------------------------------------------------------------------------
|
||||
// Unicode support
|
||||
@@ -188,7 +188,7 @@
|
||||
//
|
||||
// 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
|
||||
#define wxUSE_EXCEPTIONS 1
|
||||
|
||||
// Set wxUSE_EXTENDED_RTTI to 1 to use extended RTTI
|
||||
//
|
||||
@@ -472,20 +472,6 @@
|
||||
// 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 (requires linkage to strmiids.lib)
|
||||
//
|
||||
// Default is 0
|
||||
//
|
||||
// Recommended setting: 1 if the DirectX 7 SDK is installed (highly recommended), else 0
|
||||
#define wxUSE_DIRECTSHOW 0
|
||||
|
||||
// Use GStreamer for Unix (req a lot of dependancies)
|
||||
//
|
||||
// Default is 0
|
||||
@@ -922,11 +908,11 @@
|
||||
// 0 for no interprocess comms
|
||||
#define wxUSE_HELP 1
|
||||
// 0 for no help facility
|
||||
#define wxUSE_MS_HTML_HELP 0
|
||||
#define wxUSE_MS_HTML_HELP 1
|
||||
// 0 for no MS HTML Help
|
||||
|
||||
// Use wxHTML-based help controller?
|
||||
#define wxUSE_WXHTML_HELP 0
|
||||
#define wxUSE_WXHTML_HELP 1
|
||||
|
||||
#define wxUSE_RESOURCES 0
|
||||
// 0 for no wxGetResource/wxWriteResource
|
||||
|
Reference in New Issue
Block a user