]> git.saurik.com Git - wxWidgets.git/blobdiff - docs/latex/wx/focusevt.tex
API change: a single SELECTION_CHANGED not lots of SELECT and UNSELECT events
[wxWidgets.git] / docs / latex / wx / focusevt.tex
index 4c32abd8ddbd6ace71a803c11a769de979a497a8..f14592b976484029903c2403b531cfbbc70c3e92 100644 (file)
@@ -17,6 +17,10 @@ program itself using \helpref{SetFocus}{wxwindowsetfocus}.
 
 <wx/event.h>
 
+\wxheading{Library}
+
+\helpref{wxCore}{librarieslist}
+
 \wxheading{Event table macros}
 
 To process a focus event, use these event handler macros to direct input to a member
@@ -34,9 +38,19 @@ function that takes a wxFocusEvent argument.
 
 \latexignore{\rtfignore{\wxheading{Members}}}
 
+
 \membersection{wxFocusEvent::wxFocusEvent}\label{wxfocuseventctor}
 
 \func{}{wxFocusEvent}{\param{WXTYPE }{eventType = 0}, \param{int }{id = 0}}
 
 Constructor.
 
+
+\membersection{wxFocusEvent::GetWindow}\label{wxfocuseventgetwindow}
+
+Returns the window associated with this event, that is the window which had the
+focus before for the \texttt{wxEVT\_SET\_FOCUS} event and the window which is
+going to receive focus for the \texttt{wxEVT\_KILL\_FOCUS} one.
+
+Warning: the window pointer may be \texttt{NULL}!
+