X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/185d7c3ee4c6e4a9ddaf811ae38e57d68a0fdff3..70541533c8e108249a82fbe2bc05ccfb73bf028d:/wxPython/src/events.i diff --git a/wxPython/src/events.i b/wxPython/src/events.i index 2a9e392b70..03c1a0d1bb 100644 --- a/wxPython/src/events.i +++ b/wxPython/src/events.i @@ -30,7 +30,10 @@ //--------------------------------------------------------------------------- -class wxEvent { + +int wxNewEventType(); + +class wxEvent : public wxObject { public: wxEvent(int id = 0); ~wxEvent(); @@ -157,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; @@ -165,6 +172,9 @@ public: bool m_shiftDown; bool m_altDown; bool m_metaDown; + int m_wheelRotation; + int m_wheelDelta; + int m_linesPerAction; }; //--------------------------------------------------------------------------- @@ -281,7 +291,8 @@ public: class wxIconizeEvent: public wxEvent { public: - wxIconizeEvent(int id = 0); + wxIconizeEvent(int id = 0, bool iconized = TRUE); + bool Iconized(); }; //---------------------------------------------------------------------------