]> git.saurik.com Git - wxWidgets.git/blobdiff - docs/latex/wx/tlog.tex
added hilite change notification
[wxWidgets.git] / docs / latex / wx / tlog.tex
index 69e642f69a8cefed652ba70a13a4a66122fb0e24..9890dda16d808d8ee8d0814b8dd07c8278986faf 100644 (file)
@@ -26,8 +26,9 @@ arguments or a variable argument list pointer. Here are all of them:
 
 \begin{itemize}\itemsep=0pt
 \item{\bf wxLogFatalError} which is like {\it wxLogError}, but also
-terminates the program with the exit code 3 (using {\it abort()} standard
-function also terminates the program with this exit code).
+terminates the program with the exit code $3$ (using {\it abort()} standard
+function). Unlike for all the other logging functions, this function can't be
+overridden by a log target.
 \item{\bf wxLogError} is the function to use for error messages, i.e. the
 messages that must be shown to the user. The default processing is to pop up a
 message box to inform the user about it.
@@ -90,7 +91,6 @@ You can also redirect the {\it wxLogXXX} calls to {\it cout} by just writing:
 Finally, there is also a possibility to redirect the output sent to {\it cout} 
 to a \helpref{wxTextCtrl}{wxtextctrl} by using the 
 \helpref{wxStreamToTextRedirector}{wxstreamtotextredirector} class.
-
 \item{\bf Flexibility} The output of wxLog functions can be redirected or
 suppressed entirely based on their importance, which is either impossible or
 difficult to do with traditional methods. For example, only error messages, or
@@ -151,7 +151,7 @@ suppress output of {\it wxLogXXX()} functions. As an example, trying to open a
 non-existing file will usually provoke an error message, but if for some
 reasons it is unwanted, just use this construction:
 
-{\small
+{\small%
 \begin{verbatim}
   wxFile file;
 
@@ -164,7 +164,7 @@ reasons it is unwanted, just use this construction:
   
   wxLogMessage("..."); // ok
 \end{verbatim}
-}
+}%
 \end{itemize}
 
 The log targets can also be combined: for example you may wish to redirect the