]> git.saurik.com Git - wxWidgets.git/blobdiff - src/x11/evtloop.cpp
use gdk_fontset_load() instead of gdk_font_load() for better Japanese support (patch...
[wxWidgets.git] / src / x11 / evtloop.cpp
index d236f1afc8f05013593856f7d1ce7d9c7bc2aa03..20da77c3e790b129137dab0a64b9ed38c3f4d2cf 100644 (file)
@@ -335,14 +335,7 @@ bool wxEventLoopImpl::PreProcessEvent(XEvent *event)
 
 bool wxEventLoopImpl::SendIdleEvent()
 {
-    wxIdleEvent event;
-    event.SetEventObject(wxTheApp);
-
-    bool processed = wxTheApp->ProcessEvent(event) ;
-    
-    wxUpdateUIEvent::ResetUpdateTime();
-    
-    return processed && event.MoreRequested();
+    return wxTheApp->ProcessIdle();
 }
 
 // ============================================================================