summaryrefslogtreecommitdiffstats
path: root/Tools/bgen
diff options
context:
space:
mode:
authorJack Jansen <jack.jansen@cwi.nl>2001-02-27 11:05:00 (GMT)
committerJack Jansen <jack.jansen@cwi.nl>2001-02-27 11:05:00 (GMT)
commit8a69373664d075c6382ddaca3da54c750e3b02bd (patch)
treead2781596493425a806f83e8913ed6e682e64b4b /Tools/bgen
parentd67566b0f09d0d3064dbadc40f6cf9634b608a6c (diff)
downloadcpython-8a69373664d075c6382ddaca3da54c750e3b02bd.zip
cpython-8a69373664d075c6382ddaca3da54c750e3b02bd.tar.gz
cpython-8a69373664d075c6382ddaca3da54c750e3b02bd.tar.bz2
Dialog and Window objects are (finally) different beasts.
Diffstat (limited to 'Tools/bgen')
-rw-r--r--Tools/bgen/bgen/macsupport.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/Tools/bgen/bgen/macsupport.py b/Tools/bgen/bgen/macsupport.py
index 89d94fe..4e0ab0e 100644
--- a/Tools/bgen/bgen/macsupport.py
+++ b/Tools/bgen/bgen/macsupport.py
@@ -70,8 +70,7 @@ WindowRef = WindowPtr
DialogPtr = OpaqueByValueType("DialogPtr", "DlgObj")
DialogRef = DialogPtr
ExistingWindowPtr = OpaqueByValueType("WindowPtr", "WinObj_WhichWindow", "BUG")
-# XXX This is incorrect: it returns a Window, not a Dialog!
-ExistingDialogPtr = OpaqueByValueType("DialogPtr", "WinObj_WhichWindow", "BUG")
+ExistingDialogPtr = OpaqueByValueType("DialogPtr", "DlgObj_WhichDialog", "BUG")
# NULL pointer passed in as optional storage -- not present in Python version
NullStorage = FakeType("(void *)0")