wxwidgets/include/wx/memory.h
Vadim Zeitlin e89f05faba 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.
2023-01-05 21:41:38 +01:00

26 lines
882 B
C

/////////////////////////////////////////////////////////////////////////////
// Name: wx/memory.h
// Purpose: Obsolete legacy header for memory debugging: don't include it
// it any longer, it is only preserved to avoid breaking existing
// code including it.
// Author: Arthur Seaton, Julian Smart
// Modified by:
// Created: 29/01/98
// Copyright: (c) 1998 Julian Smart
// Licence: wxWindows licence
/////////////////////////////////////////////////////////////////////////////
#ifndef _WX_MEMORY_H_
#define _WX_MEMORY_H_
// These obsolete macros are still defined just in case anybody is using them,
// but nobody should.
#define WXDEBUG_DUMPDELAYCOUNTER
#define wxTrace(fmt)
#define wxTraceLevel(l, fmt)
#define WXTRACE true ? (void)0 : wxTrace
#define WXTRACELEVEL true ? (void)0 : wxTraceLevel
#endif // _WX_MEMORY_H_