X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/48da7d0ba891d2e6d2f326a5122b92bae2fdf1fc..34636400a0018eba4a1f63dda18cf32e944b959e:/src/common/event.cpp diff --git a/src/common/event.cpp b/src/common/event.cpp index 1813d7b4cf..593d1fc131 100644 --- a/src/common/event.cpp +++ b/src/common/event.cpp @@ -170,6 +170,16 @@ wxScrollWinEvent::wxScrollWinEvent(wxEventType commandType, m_commandInt = pos; } +void wxScrollWinEvent::CopyObject(wxObject& obj_d) const +{ + wxScrollWinEvent *obj = (wxScrollWinEvent*)&obj_d; + + wxEvent::CopyObject(obj_d); + + obj->m_extraLong = m_extraLong; + obj->m_commandInt = m_commandInt; +} + /* * Mouse events * @@ -553,8 +563,8 @@ bool wxEvtHandler::ProcessThreadEvent(wxEvent& event) wxPendingEventsLocker->Leave(); #ifdef __WXGTK__ -// if (g_isIdle) -// wxapp_install_idle_handler(); + if (g_isIdle) + wxapp_install_idle_handler(); #endif return TRUE;