X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/83b18bab391d242907d18b4b040720eae6202f76..3b50432abf11a0dbdab6b8d4136c3956ce4def1f:/wxPython/src/events.i diff --git a/wxPython/src/events.i b/wxPython/src/events.i index d1454016dc..03c1a0d1bb 100644 --- a/wxPython/src/events.i +++ b/wxPython/src/events.i @@ -33,7 +33,7 @@ int wxNewEventType(); -class wxEvent { +class wxEvent : public wxObject { public: wxEvent(int id = 0); ~wxEvent(); @@ -160,6 +160,10 @@ public: long GetX(); long GetY(); + int GetWheelRotation() const { return m_wheelRotation; } + int GetWheelDelta() const { return m_wheelDelta; } + int GetLinesPerAction() const { return m_linesPerAction; } + long m_x, m_y; bool m_leftDown; bool m_middleDown; @@ -168,6 +172,9 @@ public: bool m_shiftDown; bool m_altDown; bool m_metaDown; + int m_wheelRotation; + int m_wheelDelta; + int m_linesPerAction; }; //--------------------------------------------------------------------------- @@ -284,7 +291,8 @@ public: class wxIconizeEvent: public wxEvent { public: - wxIconizeEvent(int id = 0); + wxIconizeEvent(int id = 0, bool iconized = TRUE); + bool Iconized(); }; //---------------------------------------------------------------------------