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:
@@ -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;
|
||||
|
Reference in New Issue
Block a user