X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/fc2171bd4c660b8554dae2a1cbf34ff09f3032a6..e0976f6db35b304f16519437c9d9e2450a373783:/docs/latex/wx/texcept.tex diff --git a/docs/latex/wx/texcept.tex b/docs/latex/wx/texcept.tex index 702a193e89..58344d0ddb 100644 --- a/docs/latex/wx/texcept.tex +++ b/docs/latex/wx/texcept.tex @@ -6,15 +6,15 @@ %% Created: 17.09.03 %% RCS-ID: $Id$ %% Copyright: (c) 2003 Vadim Zeitlin -%% License: wxWidgets license +%% License: wxWindows license %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% \section{C++ exceptions overview}\label{exceptionsoverview} -\subsection{Introduction} +\subsection{Introduction}\label{exceptionintroduction} wxWidgets had been started long before the exceptions were introduced in C++ so -it is not very surprizing that it is not built around using them as some more +it is not very surprising that it is not built around using them as some more modern C++ libraries are. For instance, the library doesn't throw exceptions to signal about the errors. Moreover, up to (and including) the version 2.4 of wxWidgets, even using the exceptions in the user code was dangerous because the @@ -27,7 +27,7 @@ exceptions in the user code and the library tries to help you with this. Please note that making the library exception-safe is still work in progress. -\subsection{Strategies for exceptions handling} +\subsection{Strategies for exceptions handling}\label{exceptionstrategies} There are several choice for using the exceptions in wxWidgets programs. First of all, you may not use them at all. As stated above, the library doesn't throw @@ -57,7 +57,7 @@ the \helpref{wxApp::HandleEvent()}{wxapphandleevent} which allows you to handle all the exceptions thrown by any event handler. -\subsection{Technicalities} +\subsection{Technicalities}\label{exceptionstechnicalities} To use any kind of exception support in the library you need to build it with \texttt{wxUSE\_EXCEPTIONS} set to $1$. This should be the case by default but