Dialog and Window objects are (finally) different beasts.

This commit is contained in:
Jack Jansen 2001-02-27 11:05:00 +00:00
parent d67566b0f0
commit 8a69373664
1 changed files with 1 additions and 2 deletions

View File

@ -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")