Remove memory debugging/tracing support and all related options

Drop disabled by default and pretty useless memory tracing code and all
the overlapping and poorly documented build options related to it.

Remove memory.cpp entirely and update all the make/project files, but
preserve the now completely trivial wx/memory.h for compatibility and
also keep including wx/string.h from wx/object.h as it seems like a lot
of existing code actually depends on this, even if it should not.

Replace the options in the propgrid sample with a couple of other
debug-related options that were not used before to avoid leaving the
"Debugging Section" completely empty.
This commit is contained in:
Vadim Zeitlin 2023-01-05 18:59:11 +01:00
parent bdc260bf53
commit e89f05faba
42 changed files with 20 additions and 2412 deletions

View file

@ -138,16 +138,6 @@
#cmakedefine01 wxUSE_DEBUG_CONTEXT
#cmakedefine01 wxUSE_MEMORY_TRACING
#cmakedefine01 wxUSE_GLOBAL_MEMORY_OPERATORS
#cmakedefine01 wxUSE_DEBUG_NEW_ALWAYS
#cmakedefine01 wxUSE_EXCEPTIONS
#cmakedefine01 wxUSE_EXTENDED_RTTI