wxUsleep is supposed to sleep _milli_seconds, not _micro_seconds.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@18457 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Stefan Neis
2002-12-29 22:04:24 +00:00
parent ee53c6ba0f
commit fd4fea4228
2 changed files with 3 additions and 3 deletions

View File

@@ -836,13 +836,13 @@ int wxApp::MainLoop()
while (!Pending() && ProcessIdle())
{
HandleSockets();
wxUsleep(10000);
wxUsleep(10);
}
HandleSockets();
if (Pending())
DoMessage();
else
wxUsleep(10000);
wxUsleep(10);
}
return (int)svCurrentMsg.mp1;