X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/b2cf617cb8160a92696f1421675963aa00cb0c2b..444cb676b239bd5d87c645c21c800053271cc348:/docs/latex/wx/function.tex diff --git a/docs/latex/wx/function.tex b/docs/latex/wx/function.tex index ddfd220486..3c6f375dd2 100644 --- a/docs/latex/wx/function.tex +++ b/docs/latex/wx/function.tex @@ -92,7 +92,6 @@ a directory. Returns time of last modification of given file. - \membersection{::wxFileNameFromPath} \func{wxString}{wxFileNameFromPath}{\param{const wxString\& }{path}} @@ -953,7 +952,7 @@ Sets the translation (from the top left corner) for PostScript output. The defau \section{Clipboard functions}\label{clipsboard} These clipboard functions are implemented for Windows only. The use of these functions -is deprecated and the code is no longer maintained. Use the \helpref{wxClipboard}{wxclipboard} +is deprecated and the code is no longer maintained. Use the \helpref{wxClipboard}{wxclipboard} class instead. \wxheading{Include files} @@ -1057,14 +1056,6 @@ The clipboard must have previously been opened for this call to succeed. \section{Miscellaneous functions}\label{miscellany} -\membersection{wxHandleFatalExcetions}\label{wxhandlefatalexcetions} - -\func{bool}{wxHandleFatalExcetions}{\param{bool }{doIt = TRUE}} - -Enables or disables handling of fatal program exceptions. If {\it doIt} is -TRUE, \helpref{wxApp::OnFatalException}{wxapponfatalexception} will be called -before the program crashes. Otherwise, the default behaviour will be restored. - \membersection{::wxNewId} \func{long}{wxNewId}{\void} @@ -1186,7 +1177,7 @@ Gets the physical size of the display in pixels. \func{void}{wxEnableTopLevelWindow}{\param{bool}{ enable = TRUE}} -This function enables or disables all top level windows. It is used by +This function enables or disables all top level windows. It is used by \helpref{::wxSafeYield}{wxsafeyield}. \wxheading{Include files} @@ -1557,6 +1548,18 @@ Under Windows, this returns ``unknown''. +\membersection{::wxHandleFatalExceptions}\label{wxhandlefatalexceptions} + +\func{bool}{wxHandleFatalExceptions}{\param{bool}{ doIt = TRUE}} + +If {\it doIt} is TRUE, the fatal exceptions (also known as general protection +faults under Windows or segmentation violations in the Unix world) will be +caught and passed to \helpref{wxApp::OnFatalException}{wxapponfatalexception}. +By default, i.e. before this function is called, they will be handled in the +normal way which usually just means that the application will be terminated. +Calling wxHandleFatalExceptions() with {\it doIt} equal to FALSE will restore +this default behaviour. + \membersection{::wxKill}\label{wxkill} \func{int}{wxKill}{\param{long}{ pid}, \param{int}{ sig}}