summaryrefslogtreecommitdiffstats
path: root/Mac/Modules/dlg/dlgscan.py
diff options
context:
space:
mode:
authorJack Jansen <jack.jansen@cwi.nl>2000-08-25 22:25:54 (GMT)
committerJack Jansen <jack.jansen@cwi.nl>2000-08-25 22:25:54 (GMT)
commitb8c4c7b37e6a9e8b08160c264bfc09f6fa239c54 (patch)
tree130f8a5765193c7ffb5acd496944799fd8b667ac /Mac/Modules/dlg/dlgscan.py
parent8748a0b65408b0c4f66b7f428b0400a975180bc4 (diff)
downloadcpython-b8c4c7b37e6a9e8b08160c264bfc09f6fa239c54.zip
cpython-b8c4c7b37e6a9e8b08160c264bfc09f6fa239c54.tar.gz
cpython-b8c4c7b37e6a9e8b08160c264bfc09f6fa239c54.tar.bz2
Added routine DlgObj_ConvertToWindow().
GetDialogWindow() returns an existing window. Added a comment that the methodchain Dialogs->Windows is suspect under Carbon/MacOSX, but we need it under Carbon. No solution yet:-(
Diffstat (limited to 'Mac/Modules/dlg/dlgscan.py')
-rw-r--r--Mac/Modules/dlg/dlgscan.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/Mac/Modules/dlg/dlgscan.py b/Mac/Modules/dlg/dlgscan.py
index e49dbdd..3092dec 100644
--- a/Mac/Modules/dlg/dlgscan.py
+++ b/Mac/Modules/dlg/dlgscan.py
@@ -91,6 +91,10 @@ class MyScanner(Scanner):
[("ExistingDialogPtr", "*", "*")]),
([("DialogRef", "*", "OutMode")],
[("ExistingDialogPtr", "*", "*")]),
+ ([("WindowPtr", "*", "OutMode")],
+ [("ExistingWindowPtr", "*", "*")]),
+ ([("WindowPtr", "*", "ReturnMode")],
+ [("ExistingWindowPtr", "*", "*")]),
]
def writeinitialdefs(self):