]> git.saurik.com Git - wxWidgets.git/commitdiff
mention that doing SetFocus() results in the focus event being sent
authorVadim Zeitlin <vadim@wxwidgets.org>
Sat, 20 Apr 2002 13:59:21 +0000 (13:59 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Sat, 20 Apr 2002 13:59:21 +0000 (13:59 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15219 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

docs/latex/wx/focusevt.tex

index 061ad0feed9ed1997256837a229f94e45dc8cb1b..8826dd2ee6b1463db26d233255cadaabf74f10d5 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,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}}}