diff options
author | Jack Jansen <jack.jansen@cwi.nl> | 1995-11-15 15:18:47 (GMT) |
---|---|---|
committer | Jack Jansen <jack.jansen@cwi.nl> | 1995-11-15 15:18:47 (GMT) |
commit | b7abb18cd99e348ab2f9f7ea85d72158684319a7 (patch) | |
tree | a1ab213b915d7a9aeda10eb92737cc6219247e51 /Mac/Modules/win/winsupport.py | |
parent | 330381cbbb394e7e7a6841879b22218884750ca2 (diff) | |
download | cpython-b7abb18cd99e348ab2f9f7ea85d72158684319a7.zip cpython-b7abb18cd99e348ab2f9f7ea85d72158684319a7.tar.gz cpython-b7abb18cd99e348ab2f9f7ea85d72158684319a7.tar.bz2 |
Added support for GrafPort object
Diffstat (limited to 'Mac/Modules/win/winsupport.py')
-rw-r--r-- | Mac/Modules/win/winsupport.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Mac/Modules/win/winsupport.py b/Mac/Modules/win/winsupport.py index 39d4b7a..9aed179 100644 --- a/Mac/Modules/win/winsupport.py +++ b/Mac/Modules/win/winsupport.py @@ -29,9 +29,10 @@ WindowPtr = OpaqueByValueType(OBJECTTYPE, OBJECTPREFIX) WindowRef = WindowPtr WindowPeek = OpaqueByValueType("WindowPeek", OBJECTPREFIX) WindowPeek.passInput = lambda name: "(WindowPeek)(%s)" % name -CGrafPtr = WindowPtr +CGrafPtr = OpaqueByValueType("CGrafPtr", "GrafObj") +GrafPtr = OpaqueByValueType("GrafPtr", "GrafObj") -#RgnHandle = OpaqueByValueType("RgnHandle", "RgnObj") +RgnHandle = OpaqueByValueType("RgnHandle", "ResObj") PicHandle = OpaqueByValueType("PicHandle", "ResObj") includestuff = includestuff + """ @@ -83,7 +84,6 @@ class MyObjectDefinition(GlobalObjectDefinition): """) def outputFreeIt(self, itselfname): Output("DisposeWindow(%s);", itselfname) - # From here on it's basically all boiler plate... # Create the generator groups and link them |