]> git.saurik.com Git - wxWidgets.git/blobdiff - src/os2/evtloop.cpp
bracket 10.5 only code
[wxWidgets.git] / src / os2 / evtloop.cpp
index 9399da2c82629d16e1222a975e62e8d4d163e035..4525143553750bee19667c0647d4936904e91b50 100644 (file)
@@ -402,9 +402,10 @@ bool wxGUIEventLoop::YieldFor(long eventsToProcess)
     // If they are pending events, we must process them.
     //
     if (wxTheApp)
+    {
         wxTheApp->ProcessPendingEvents();
-
-    HandleSockets();
+       wxTheApp->HandleSockets();
+    }
 
     //
     // Let the logs be flashed again