Oops, WaitNextEvent was hand-coded, and it also needed the h->H conversion for PyArg_ParseTuple format strings.

This commit is contained in:
Jack Jansen 2000-07-24 19:59:17 +00:00
parent 5bdbabd203
commit 4fb67f4659
2 changed files with 2 additions and 2 deletions

View File

@ -328,7 +328,7 @@ static PyObject *Evt_WaitNextEvent(_self, _args)
UInt32 sleep;
Handle mouseregion = (Handle)0;
if (!PyArg_ParseTuple(_args, "hl|O&",
if (!PyArg_ParseTuple(_args, "Hl|O&",
&eventMask,
&sleep,
OptResObj_Convert, &mouseregion))

View File

@ -79,7 +79,7 @@ EventRecord theEvent;
UInt32 sleep;
Handle mouseregion = (Handle)0;
if (!PyArg_ParseTuple(_args, "hl|O&",
if (!PyArg_ParseTuple(_args, "Hl|O&",
&eventMask,
&sleep,
OptResObj_Convert, &mouseregion))