X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/dde19c2180ef8d6415af7bb2492bfcb0a2d5c7e4..e77cba1a9c2085b15789bbdc3d38697c4670d2a7:/src/os2/evtloop.cpp diff --git a/src/os2/evtloop.cpp b/src/os2/evtloop.cpp index 9399da2c82..4525143553 100644 --- a/src/os2/evtloop.cpp +++ b/src/os2/evtloop.cpp @@ -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