wxDFB: fix events processing to support sockets events

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43999 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Václav Slavík
2006-12-18 17:24:06 +00:00
parent 18c7af7e80
commit 757b694ba8
3 changed files with 15 additions and 9 deletions

View File

@@ -138,10 +138,7 @@ bool wxApp::Yield(bool onlyIfNeeded)
wxLog::Suspend();
if ( wxEventLoop::GetActive() )
{
while (wxEventLoop::GetActive()->Pending())
wxEventLoop::GetActive()->Dispatch();
}
wxEventLoop::GetActive()->Yield();
// it's necessary to call ProcessIdle() to update the frames sizes which
// might have been changed (it also will update other things set from