X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/900d98862dc265f24943f60074d8b69025331737..8dba8632c5bcd64724e2e9e2d40e295555a0cb86:/wxPython/src/events.i diff --git a/wxPython/src/events.i b/wxPython/src/events.i index e6933f8e25..9b1ef37431 100644 --- a/wxPython/src/events.i +++ b/wxPython/src/events.i @@ -35,7 +35,7 @@ int wxNewEventType(); class wxEvent : public wxObject { public: - wxEvent(int id = 0); + // wxEvent(int id = 0); // *** This class is now an ABC ~wxEvent(); wxObject* GetEventObject(); @@ -48,6 +48,8 @@ public: void SetId(int id); void SetTimestamp(long timeStamp); void Skip(bool skip = TRUE); + + wxEvent *Clone(); }; //--------------------------------------------------------------------------- @@ -267,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{