X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/924b84ab9461c95cf5c5386d1091ae0f7a8e7ce7..4346581b7c6548fdef1486564787154d20a401df:/docs/latex/wx/evthand.tex diff --git a/docs/latex/wx/evthand.tex b/docs/latex/wx/evthand.tex index 8c3e91fc83..a52f29a4eb 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} @@ -40,7 +44,7 @@ each other. \membersection{wxEvtHandler::AddPendingEvent}\label{wxevthandleraddpendingevent} -\func{void}{AddPendingEvent}{\param{wxEvent\& }{event}} +\func{virtual void}{AddPendingEvent}{\param{const wxEvent\& }{event}} This function posts an event to be processed later. @@ -155,20 +159,6 @@ to disconnect functions connected using the (static) event tables. \perlnote{In wxPerl this function takes 3 arguments: \texttt{id, lastid, type}.} -\membersection{wxEvtHandler::DoHandleEvent}\label{wxevthandlerdohandleevent} - -\func{virtual void}{DoHandleEvent}{\param{wxEventFunction}{ func}, \param{wxEvent\& }{event}} - -This function simply invokes the given method \arg{func} of this -event handler with the \arg{event} as parameter. It exists solely -to allow to catch the C++ exceptions which could be thrown by this event -handlers in one place: if you want to do this, override this -function in your wxEvtHandler-derived class and add try/catch clause(s) to it. - -Exceptions not caught at this level propagate to -\helpref{wxApp::HandleEvent}{wxapphandleevent} which in turn calls -\helpref{wxApp::OnExceptionInMainLoop}{wxapponexceptioninmainloop}. - \membersection{wxEvtHandler::GetClientData}\label{wxevthandlergetclientdata} \func{void* }{GetClientData}{\void}