X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/48da7d0ba891d2e6d2f326a5122b92bae2fdf1fc..f2fe5464d6c8d178aa5733cf078ed5988ec90721:/src/common/event.cpp?ds=sidebyside 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;