X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/6d26dc89c5e7a421f4f8807728928eee91aa5f7e..371fd015a7c7bd9aeaaccb05b19d07b69740755c:/wxPython/src/events.i diff --git a/wxPython/src/events.i b/wxPython/src/events.i index 5d2bd07da5..5983169335 100644 --- a/wxPython/src/events.i +++ b/wxPython/src/events.i @@ -202,6 +202,21 @@ public: //--------------------------------------------------------------------------- +class wxSetCursorEvent : public wxEvent +{ +public: + wxSetCursorEvent(wxCoord x = 0, wxCoord y = 0); + + wxCoord GetX() const; + wxCoord GetY() const; + + void SetCursor(const wxCursor& cursor); + const wxCursor& GetCursor() const; + bool HasCursor() const; +}; + +//--------------------------------------------------------------------------- + class wxKeyEvent: public wxEvent { public: wxKeyEvent(int keyEventType); @@ -496,6 +511,18 @@ public: //--------------------------------------------------------------------------- +class wxContextMenuEvent : public wxCommandEvent +{ +public: + wxContextMenuEvent(wxEventType type = wxEVT_NULL, + wxWindowID id = 0, + const wxPoint& pt = wxDefaultPosition); + const wxPoint& GetPosition(); + void SetPosition(const wxPoint& pos); +}; + +//---------------------------------------------------------------------- + class wxTimerEvent : public wxEvent { public: