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