HMGetBalloonWindow should try to return an existing window.
This commit is contained in:
parent
cdb3483744
commit
d8b382dc47
|
@ -261,7 +261,7 @@ static PyObject *Help_HMGetBalloonWindow(_self, _args)
|
|||
_err = HMGetBalloonWindow(&window);
|
||||
if (_err != noErr) return PyMac_Error(_err);
|
||||
_res = Py_BuildValue("O&",
|
||||
WinObj_New, window);
|
||||
WinObj_WhichWindow, window);
|
||||
return _res;
|
||||
}
|
||||
|
||||
|
|
|
@ -51,6 +51,8 @@ class MyScanner(Scanner):
|
|||
|
||||
def makerepairinstructions(self):
|
||||
return [
|
||||
([("WindowPtr", "*", "OutMode")],
|
||||
[("ExistingWindowPtr", "*", "*")]),
|
||||
]
|
||||
|
||||
if __name__ == "__main__":
|
||||
|
|
Loading…
Reference in New Issue