added and documented wxWindow::RemoveEventHandler()

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13805 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin
2002-01-25 16:01:15 +00:00
parent 4ccae30a4d
commit 2e36d5cf81
3 changed files with 65 additions and 0 deletions

View File

@@ -1776,6 +1776,29 @@ functions so should not be required by the application programmer.
\docparam{child}{Child window to remove.}
\membersection{wxWindow::RemoveEventHandler}{wxwindowremoveeventhandler}
\func{bool}{RemoveEventHandler}{\param{wxEvtHandler *}{handler}}
Find the given {\it handler} in the windows event handler chain and remove (but
not delete) it from it.
\wxheading{Parameters}
\docparam{handler}{The event handler to remove, must be non {\tt NULL} and
must be present in this windows event handlers chain}
\wxheading{Return value}
Returns {\tt TRUE} if it was found and {\tt FALSE} otherwise (this also results
in an assert failure so this function should only be called when the
handler is supposed to be there).
\wxheading{See also}
\helpref{PushEventHandler}{wxwindowpusheventhandler},\rtfsp
\helpref{PopEventHandler}{wxwindowpopeventhandler}
\membersection{wxWindow::Reparent}\label{wxwindowreparent}
\func{virtual bool}{Reparent}{\param{wxWindow* }{newParent}}