currently allocated) is only present in a debugging build of wxWindows,
i.e. if the DEBUG symbol is defined and non-zero. wxDebugContext
and related functions and macros can be compiled out by setting
-USE\_DEBUG\_CONTEXT to 0 is wx\_setup.h
+wxUSE\_DEBUG\_CONTEXT to 0 is setup.h
\wxheading{Derived from}
No parent class.
+\wxheading{Include files}
+
+<wx/memory.h>
+
\wxheading{See also}
\overview{Overview}{wxdebugcontextoverview}
a different level will only have an effect if trace statements in the application
specify a value other than one.
+This is obsolete, replaced by \helpref{wxLog}{wxlog} functionality.
+
\wxheading{See also}
\helpref{wxDebugContext::SetLevel}{wxdebugcontextsetlevel}
Returns the output stream associated with the debug context.
+This is obsolete, replaced by \helpref{wxLog}{wxlog} functionality.
+
\wxheading{See also}
\helpref{wxDebugContext::SetStream}{wxdebugcontextsetstream}
There may not necessarily be a stream buffer if the stream has been set
by the user.
+This is obsolete, replaced by \helpref{wxLog}{wxlog} functionality.
+
\membersection{wxDebugContext::HasStream}\label{wxdebugcontexthasstream}
\func{bool}{HasStream}{\void}
Returns TRUE if there is a stream currently associated
with the debug context.
+This is obsolete, replaced by \helpref{wxLog}{wxlog} functionality.
+
\wxheading{See also}
\helpref{wxDebugContext::SetStream}{wxdebugcontextsetstream}, \helpref{wxDebugContext::GetStream}{wxdebugcontextgetstream}
a different level will only have an effect if trace statements in the application
specify a value other than one.
+This is obsolete, replaced by \helpref{wxLog}{wxlog} functionality.
+
\wxheading{See also}
\helpref{wxDebugContext::GetLevel}{wxdebugcontextgetlevel}
Sets the debugging stream to be the debugger (Windows) or standard error (other platforms).
This is the default setting. The existing stream will be flushed and deleted.
+This is obsolete, replaced by \helpref{wxLog}{wxlog} functionality.
+
\membersection{wxDebugContext::SetStream}\label{wxdebugcontextsetstream}
\func{void}{SetStream}{\param{ostream* }{stream}, \param{streambuf* }{streamBuf = NULL}}
Sets the stream and optionally, stream buffer associated with the debug context.
This operation flushes and deletes the existing stream (and stream buffer if any).
+This is obsolete, replaced by \helpref{wxLog}{wxlog} functionality.
+
\wxheading{Parameters}
\docparam{stream}{Stream to associate with the debug context. Do not set this to NULL.}
to the debugger, or other program that intercepts debugging
output. On other platforms, the output goes to standard error (cerr).
+This is soon to be obsolete, replaced by \helpref{wxLog}{wxlog} functionality.
+
\wxheading{Derived from}
streambuf
+\wxheading{Include files}
+
+<wx/memory.h>
+
\wxheading{Example}
\begin{verbatim}