]> git.saurik.com Git - wxWidgets.git/blobdiff - src/common/event.cpp
1. wxWindow::IsTopLevel() added and documented
[wxWidgets.git] / src / common / event.cpp
index 1813d7b4cf5018ab4933df57bbe51cb8a797e4a7..593d1fc13132f0b00c1bfe80260cd0987b27c791 100644 (file)
@@ -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;