]> git.saurik.com Git - wxWidgets.git/blobdiff - src/x11/evtloop.cpp
GTK_TOOLBAR_BOTH_HORIZ is GTK 2 only (it would have been nice if the patch mentioned...
[wxWidgets.git] / src / x11 / evtloop.cpp
index aaf03464a37b0a12257f88b59058e04d456b2476..20da77c3e790b129137dab0a64b9ed38c3f4d2cf 100644 (file)
@@ -174,7 +174,7 @@ void wxSocketTable::FillSets(fd_set* readset, fd_set* writeset, int* highest)
     wxNode* node = Next();
     while (node)
     {
-        wxSocketTableEntry* entry = (wxSocketTableEntry*) node->Data();
+        wxSocketTableEntry* entry = (wxSocketTableEntry*) node->GetData();
         
         if (entry->m_fdInput != -1)
         {
@@ -200,7 +200,7 @@ void wxSocketTable::ProcessEvents(fd_set* readset, fd_set* writeset)
     wxNode* node = Next();
     while (node)
     {
-        wxSocketTableEntry* entry = (wxSocketTableEntry*) node->Data();
+        wxSocketTableEntry* entry = (wxSocketTableEntry*) node->GetData();
         
         if (entry->m_fdInput != -1 && FD_ISSET(entry->m_fdInput, readset))
         {
@@ -335,10 +335,7 @@ bool wxEventLoopImpl::PreProcessEvent(XEvent *event)
 
 bool wxEventLoopImpl::SendIdleEvent()
 {
-    wxIdleEvent event;
-    event.SetEventObject(wxTheApp);
-
-    return wxTheApp->ProcessEvent(event) && event.MoreRequested();
+    return wxTheApp->ProcessIdle();
 }
 
 // ============================================================================