.\" This is a wxWidgets manpage page generated from the XML docs .TH wxFocusEvent 3wx 2005-02-15 "wxWidgets" "wxWidgets class documentation" .SH NAME wxFocusEvent \- A window focus event .SH DESCRIPTION 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 SetFocus . .SH "PARENTS" wxEvent wxObject .SH "INCLUDE FILES" wx/event.h .SH MEMBERS .SS wxFocusEvent (WXTYPE eventType = 0int id = 0) Constructor. .SH EVENTS .SS EVT_SET_FOCUS(func) Process a wxEVT_SET_FOCUS event. .SS EVT_KILL_FOCUS(func) Process a wxEVT_KILL_FOCUS event. .SH "SEE ALSO" wxEvent wxObject Event handling overview .SH "AUTHORS" Documentation content by Julian Smart, Robert Roebling, Vadim Zeitlin, Robin Dunn, et al Conversion to manpage format by Arnout Engelen (http://bzzt.net), bugreports welcome.