X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/abcbaea73fa07b88ac681c78ea6933ba70a6fd72..dd23c25cde86903f2a4115e4a24e891e80d477e4:/src/common/event.cpp diff --git a/src/common/event.cpp b/src/common/event.cpp index b9eeac40fb..d4cc3c54d4 100644 --- a/src/common/event.cpp +++ b/src/common/event.cpp @@ -190,6 +190,7 @@ DEFINE_EVENT_TYPE(wxEVT_SCROLL_PAGEUP) DEFINE_EVENT_TYPE(wxEVT_SCROLL_PAGEDOWN) DEFINE_EVENT_TYPE(wxEVT_SCROLL_THUMBTRACK) DEFINE_EVENT_TYPE(wxEVT_SCROLL_THUMBRELEASE) +DEFINE_EVENT_TYPE(wxEVT_SCROLL_ENDSCROLL) // Scroll events from wxWindow DEFINE_EVENT_TYPE(wxEVT_SCROLLWIN_TOP) @@ -388,6 +389,8 @@ wxMouseEvent::wxMouseEvent(wxEventType commandType) void wxMouseEvent::Assign(const wxMouseEvent& event) { + m_eventType = event.m_eventType; + m_x = event.m_x; m_y = event.m_y;