X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/ebf4302cbe16578f60e51dca83e3defaebb6db28..761df41e86ceeed56d32c038a6c9f88554d4f47a:/wxPython/src/events.i diff --git a/wxPython/src/events.i b/wxPython/src/events.i index 8e4190a2cc..9b1ef37431 100644 --- a/wxPython/src/events.i +++ b/wxPython/src/events.i @@ -269,6 +269,18 @@ public: wxFocusEvent(WXTYPE eventType = 0, int id = 0); }; +//--------------------------------------------------------------------------- + +// wxChildFocusEvent notifies the parent that a child has got the focus: unlike +// wxFocusEvent it is propgated upwards the window chain +class wxChildFocusEvent : public wxCommandEvent +{ +public: + wxChildFocusEvent(wxWindow *win = NULL); + wxWindow *GetWindow() const; +}; + + //--------------------------------------------------------------------------- class wxActivateEvent: public wxEvent{