wxchildfocuseventa child focus event is sent to a (parent-)window when one of its child windows gains focus, so that the window could restore the focus back to its corresponding child if it loses it now and regains later. notice that child window is the direct child of the window receiving event. use findfocus to retreive the window which is actually getting focus. derived from
wxcommandevent include files <wx/event.h> event table macros to process a child focus event, use this event handler macro to direct input to a member function that takes a wxchildfocusevent argument.
members
wxchildfocusevent::wxchildfocusevent
wxchildfocusevent::wxchildfocuseventwxchildfocusevent(wxwindow *win = null) constructor. parameters win
wxchildfocusevent::getwindowreturns the direct child which receives the focus, or a (grand-)parent of the control receiving the focus. to get the actually focused control use wxwindow::findfocus.
|