X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/76bfdc9ad9107bb98b433c2bc367e11b7796c2c7..380740af5dd112601916704a6d78d1112ebb31b5:/docs/latex/wx/evthand.tex diff --git a/docs/latex/wx/evthand.tex b/docs/latex/wx/evthand.tex index fa6b0d25ed..180636f90d 100644 --- a/docs/latex/wx/evthand.tex +++ b/docs/latex/wx/evthand.tex @@ -18,6 +18,10 @@ will be identical to the "this" pointer for the wxEvtHandler portion. +\wxheading{Library} + +\helpref{wxBase}{librarieslist} + \wxheading{See also} \overview{Event handling overview}{eventhandlingoverview} @@ -270,6 +274,30 @@ recursively applied to the parent window's event handler. If this returns true, \helpref{wxEvtHandler::SearchEventTable}{wxevthandlersearcheventtable} + +\membersection{wxEvtHandler::SafelyProcessEvent}\label{wxevthandlersafelyprocessevent} + +\func{bool}{SafelyProcessEvent}{\param{wxEvent\& }{event}} + +Processes an event by calling \helpref{ProcessEvent}{wxevthandlerprocessevent} +and handles any exceptions that occur in the process. If an exception is +thrown in event handler, \helpref{wxApp::OnExceptionInMainLoop}{wxapponexceptioninmainloop} +is called. + +\wxheading{Parameters} + +\docparam{event}{Event to process.} + +\wxheading{Return value} + +\true if the event was processed, \false if no handler was found or an +exception was thrown. + +\wxheading{See also} + +\helpref{wxWindow::HandleWindowEvent}{wxwindowhandlewindowevent} + + \membersection{wxEvtHandler::SearchEventTable}\label{wxevthandlersearcheventtable} \func{virtual bool}{SearchEventTable}{\param{wxEventTable\& }{table}, \param{wxEvent\& }{event}}