X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/a660d684eda27638bca0384b2058911a31c8e845..d83eeece0ee86a3ad81096d894a560647cef0d3a:/docs/latex/wx/focusevt.tex diff --git a/docs/latex/wx/focusevt.tex b/docs/latex/wx/focusevt.tex index e47b55d138..8826dd2ee6 100644 --- a/docs/latex/wx/focusevt.tex +++ b/docs/latex/wx/focusevt.tex @@ -1,12 +1,22 @@ \section{\class{wxFocusEvent}}\label{wxfocusevent} -A focus event is sent when a window's focus changes. +A focus event is sent when a window's focus changes. The window losing focus +receives a ``kill focus'' event while the window gaining it gets a ``set +focus'' one. + +Notice that the set focus event happens both when the user gives focus to the +window (whether using the mouse or keyboard) and when it is done from the +program itself using \helpref{SetFocus}{wxwindowsetfocus}. \wxheading{Derived from} \helpref{wxEvent}{wxevent}\\ \helpref{wxObject}{wxobject} +\wxheading{Include files} + + + \wxheading{Event table macros} To process a focus event, use these event handler macros to direct input to a member @@ -20,8 +30,6 @@ function that takes a wxFocusEvent argument. \wxheading{See also} -\helpref{wxWindow::OnSetFocus}{wxwindowonsetfocus},\rtfsp -\helpref{wxWindow::OnKillFocus}{wxwindowonkillfocus},\rtfsp \helpref{Event handling overview}{eventhandlingoverview} \latexignore{\rtfignore{\wxheading{Members}}}