]> git.saurik.com Git - wxWidgets.git/blobdiff - docs/latex/wx/focusevt.tex
Faster Deselect
[wxWidgets.git] / docs / latex / wx / focusevt.tex
index 642d72ed96b088d243b1ba867f4ace60f13ca3bf..4c32abd8ddbd6ace71a803c11a769de979a497a8 100644 (file)
@@ -1,6 +1,12 @@
 \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}
 
@@ -24,13 +30,11 @@ 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}}}
 
-\membersection{wxFocusEvent::wxFocusEvent}
+\membersection{wxFocusEvent::wxFocusEvent}\label{wxfocuseventctor}
 
 \func{}{wxFocusEvent}{\param{WXTYPE }{eventType = 0}, \param{int }{id = 0}}