git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28532
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775
while ( !Pending() && m_impl->SendIdleMessage() )
{
wxTheApp->HandleSockets();
- wxUsleep(10);
+ wxMilliSleep(10);
}
wxTheApp->HandleSockets();
}
}
else
- wxUsleep(10);
+ wxMilliSleep(10);
}
return m_impl->GetExitCode();
#endif
}
-void wxUsleep(
+void wxMilliSleep(
unsigned long ulMilliseconds
)
{
::DosSleep(ulMilliseconds);
}
+void wxMicroSleep(
+ unsigned long ulMicroseconds
+)
+{
+ ::DosSleep(ulMicroseconds/1000);
+}
+
void wxSleep(
int nSecs
)