mirror of
https://github.com/cookiengineer/audacity
synced 2025-04-30 07:39:42 +02:00
This corrects the debugging level used when building the
wxWidgets libs on Windows. It will disable the assertions in release builds.
This commit is contained in:
parent
c7792dd52f
commit
31fc2c14e4
@ -1,12 +1,28 @@
|
||||
diff -wruN orig/wxWidgets-3.0.2/include/wx/msw/setup.h wxWidgets-3.0.2/include/wx/msw/setup.h
|
||||
--- orig/include/wx/msw/setup.h 2014-10-06 16:33:44.000000000 -0500
|
||||
+++ include/wx/msw/setup.h 2014-10-14 18:38:37.992586000 -0500
|
||||
--- orig/include/wx/msw/setup.h 2014-10-06 14:33:44.000000000 -0700
|
||||
+++ include/wx/msw/setup.h 2015-10-08 17:32:21.223729900 -0700
|
||||
@@ -65,11 +65,11 @@
|
||||
// NDEBUG) or, on the contrary, enable more asserts, including the usually
|
||||
// disabled ones, in the debug build (then do it inside #ifndef NDEBUG)
|
||||
//
|
||||
-// #ifdef NDEBUG
|
||||
-// #define wxDEBUG_LEVEL 0
|
||||
-// #else
|
||||
-// #define wxDEBUG_LEVEL 2
|
||||
-// #endif
|
||||
+#ifdef NDEBUG
|
||||
+ #define wxDEBUG_LEVEL 0
|
||||
+#else
|
||||
+ #define wxDEBUG_LEVEL 1
|
||||
+#endif
|
||||
|
||||
// wxHandleFatalExceptions() may be used to catch the program faults at run
|
||||
// time and, instead of terminating the program with a usual GPF message box,
|
||||
@@ -1366,7 +1366,7 @@
|
||||
// Default is 0.
|
||||
//
|
||||
// Recommended setting (at present): 0
|
||||
-#define wxUSE_ACCESSIBILITY 0
|
||||
+#define wxUSE_ACCESSIBILITY 1
|
||||
|
||||
|
||||
// ----------------------------------------------------------------------------
|
||||
// miscellaneous settings
|
||||
|
@ -65,11 +65,11 @@
|
||||
// NDEBUG) or, on the contrary, enable more asserts, including the usually
|
||||
// disabled ones, in the debug build (then do it inside #ifndef NDEBUG)
|
||||
//
|
||||
// #ifdef NDEBUG
|
||||
// #define wxDEBUG_LEVEL 0
|
||||
// #else
|
||||
// #define wxDEBUG_LEVEL 2
|
||||
// #endif
|
||||
#ifdef NDEBUG
|
||||
#define wxDEBUG_LEVEL 0
|
||||
#else
|
||||
#define wxDEBUG_LEVEL 1
|
||||
#endif
|
||||
|
||||
// wxHandleFatalExceptions() may be used to catch the program faults at run
|
||||
// time and, instead of terminating the program with a usual GPF message box,
|
||||
|
Loading…
x
Reference in New Issue
Block a user