A class for performing various debugging and memory tracing
operations. Full functionality (such as printing out objects
currently allocated) is only present in a debugging build of wxWindows,
-i.e. if the DEBUG symbol is defined and non-zero. wxDebugContext
+i.e. if the \_\_WXDEBUG\_\_ symbol is defined. wxDebugContext
and related functions and macros can be compiled out by setting
wxUSE\_DEBUG\_CONTEXT to 0 is setup.h
\wxheading{Return value}
-TRUE if the function succeeded, FALSE otherwise.
+true if the function succeeded, false otherwise.
\membersection{wxDebugContext::GetCheckPrevious}\label{wxdebugcontextgetcheckprevious}
\func{bool}{GetCheckPrevious}{\void}
-Returns TRUE if the memory allocator checks all previous memory blocks for errors.
-By default, this is FALSE since it slows down execution considerably.
+Returns true if the memory allocator checks all previous memory blocks for errors.
+By default, this is false since it slows down execution considerably.
\wxheading{See also}
\func{bool}{GetDebugMode}{\void}
-Returns TRUE if debug mode is on. If debug mode is on, the wxObject new and delete
+Returns true if debug mode is on. If debug mode is on, the wxObject new and delete
operators store or use information about memory allocation. Otherwise,
a straight malloc and free will be performed by these operators.
\func{bool}{HasStream}{\void}
-Returns TRUE if there is a stream currently associated
+Returns true if there is a stream currently associated
with the debug context.
This is obsolete, replaced by \helpref{wxLog}{wxlog} functionality.
\membersection{wxDebugContext::PrintStatistics}\label{wxdebugcontextprintstatistics}
-\func{bool}{PrintStatistics}{\param{bool}{ detailed = TRUE}}
+\func{bool}{PrintStatistics}{\param{bool}{ detailed = true}}
Performs a statistics analysis from the currently set checkpoint, writing
to the current debug stream. The number of object and non-object
\wxheading{Parameters}
-\docparam{detailed}{If TRUE, the function will also print how many
+\docparam{detailed}{If true, the function will also print how many
objects of each class have been allocated, and the space taken by
these class instances.}
\membersection{wxDebugContext::SetCheckpoint}\label{wxdebugcontextsetcheckpoint}
-\func{void}{SetCheckpoint}{\param{bool}{ all = FALSE}}
+\func{void}{SetCheckpoint}{\param{bool}{ all = false}}
Sets the current checkpoint: Dump and PrintStatistics operations will
be performed from this point on. This allows you to ignore allocations
\wxheading{Parameters}
-\docparam{all}{If TRUE, the checkpoint is reset to include all
+\docparam{all}{If true, the checkpoint is reset to include all
memory allocations since the program started.}
\membersection{wxDebugContext::SetCheckPrevious}\label{wxdebugcontextsetcheckprevious}
\func{void}{SetCheckPrevious}{\param{bool}{ check}}
Tells the memory allocator to check all previous memory blocks for errors.
-By default, this is FALSE since it slows down execution considerably.
+By default, this is false since it slows down execution considerably.
\wxheading{See also}
operators store or use information about memory allocation. Otherwise,
a straight malloc and free will be performed by these operators.
-By default, debug mode is on if DEBUG is non-zero. If the application
+By default, debug mode is on if \_\_WXDEBUG\_\_ is defined. If the application
uses this function, it should make sure that all object memory allocated
is deallocated with the same value of debug mode. Otherwise, the
delete operator might try to look for memory information that does not