summaryrefslogtreecommitdiffstats
path: root/Mac/Modules/win/winscan.py
diff options
context:
space:
mode:
authorJack Jansen <jack.jansen@cwi.nl>2000-08-25 22:17:51 (GMT)
committerJack Jansen <jack.jansen@cwi.nl>2000-08-25 22:17:51 (GMT)
commit0aee0e61f8e7b1b112500aa3ae1edb7bcb5e28b1 (patch)
treef59c9850a71fc18f23fc52df4cbb8d7ac145eb34 /Mac/Modules/win/winscan.py
parent0c1836f13bc3587f3a7bd74073cef63ef9a17b4c (diff)
downloadcpython-0aee0e61f8e7b1b112500aa3ae1edb7bcb5e28b1.zip
cpython-0aee0e61f8e7b1b112500aa3ae1edb7bcb5e28b1.tar.gz
cpython-0aee0e61f8e7b1b112500aa3ae1edb7bcb5e28b1.tar.bz2
Window objects now also have an AutoDispose funcpointer (set for our windows, cleared for foreign windows). Needed mainly for Carbon (where we don't know about the windows belonging to our dialogs).
Fixed a few calls that return an ExistingWindow.
Diffstat (limited to 'Mac/Modules/win/winscan.py')
-rw-r--r--Mac/Modules/win/winscan.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/Mac/Modules/win/winscan.py b/Mac/Modules/win/winscan.py
index 88a8919..3c37d33 100644
--- a/Mac/Modules/win/winscan.py
+++ b/Mac/Modules/win/winscan.py
@@ -100,6 +100,10 @@ class MyScanner(Scanner):
[("ExistingWindowPtr", "*", "*")]),
([("WindowRef", "FrontWindow", "ReturnMode")], # Ditto
[("ExistingWindowPtr", "*", "*")]),
+ ([("WindowPtr", "FrontNonFloatingWindow", "ReturnMode")],
+ [("ExistingWindowPtr", "*", "*")]),
+ ([("WindowRef", "FrontNonFloatingWindow", "ReturnMode")], # Ditto
+ [("ExistingWindowPtr", "*", "*")]),
]
if __name__ == "__main__":