don't use deprecated wxUsleep

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28149 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Václav Slavík
2004-07-03 10:06:23 +00:00
parent e74c05294a
commit 39ef7151f5

View File

@@ -1168,7 +1168,7 @@ int wxGUIAppTraits::WaitForChild(wxExecuteData& execData)
// don't consume 100% of the CPU while we're sitting this in this
// loop
if ( idle )
wxUsleep(1);
wxMilliSleep(1);
// give GTK+ a chance to call GTK_EndProcessDetector here and
// also repaint the GUI