X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/ebf4302cbe16578f60e51dca83e3defaebb6db28..cd72551c2b6cbf67a4a5caf0ba00ba64e41183b2:/wxPython/src/events.i diff --git a/wxPython/src/events.i b/wxPython/src/events.i index 8e4190a2cc..b5b27ce5ed 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(); }; //--------------------------------------------------------------------------- @@ -413,6 +426,15 @@ public: }; +//--------------------------------------------------------------------------- + +class wxDisplayChangedEvent : public wxEvent +{ +public: + wxDisplayChangedEvent(); +}; + + //--------------------------------------------------------------------------- class wxPaletteChangedEvent : public wxEvent {