mirror of https://github.com/python/cpython
use PyMac_Yield() instead of PyMac_Idle()
This commit is contained in:
parent
a4007eb816
commit
e375b3f1e5
|
@ -106,7 +106,7 @@ AEEventHandlerUPP upp_GenericEventHandler;
|
|||
|
||||
static pascal Boolean AEIdleProc(EventRecord *theEvent, long *sleepTime, RgnHandle *mouseRgn)
|
||||
{
|
||||
(void) PyMac_Idle();
|
||||
PyMac_Yield();
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue