X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/ebf4302cbe16578f60e51dca83e3defaebb6db28..763f55468e441e94e65a72b127c8fc2a48c91e91:/wxPython/src/events.i diff --git a/wxPython/src/events.i b/wxPython/src/events.i index 8e4190a2cc..b735d07ae3 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{ @@ -290,6 +302,7 @@ class wxMenuEvent: public wxEvent { public: wxMenuEvent(WXTYPE id = 0, int id = 0); int GetMenuId(); + bool IsPopup(); }; //--------------------------------------------------------------------------- @@ -361,7 +374,11 @@ public: } for (int i=0; i