Mercurial > cpython-lru_cache-weakref
diff Mac/Tools/IDE/PyBrowser.py @ 26466:418a7ec92599 legacy-trunk
Lots of minor tweaks for the pep252 checkins, mainly because Qd
attributes are no longer supported.
| author | Jack Jansen <jack.jansen@cwi.nl> |
|---|---|
| date | Sat, 30 Nov 2002 00:01:29 +0000 |
| parents | 61c2506ec2e8 |
| children | 0f848b06146f |
line wrap: on
line diff
--- a/Mac/Tools/IDE/PyBrowser.py Fri Nov 29 23:58:51 2002 +0000 +++ b/Mac/Tools/IDE/PyBrowser.py Sat Nov 30 00:01:29 2002 +0000 @@ -5,7 +5,6 @@ import types import re from Carbon import Qd, Icn, Fm, QuickDraw -from Carbon.List import GetListPort from Carbon.QuickDraw import hilitetransfermode @@ -211,7 +210,7 @@ Qd.PaintRect(rect) lastpoint = (x, y) Qd.PaintRect(rect) - Qd.PenPat(Qd.qd.black) + Qd.PenPat(Qd.GetQDGlobalsBlack()) Qd.PenNormal() if newcol > 0 and newcol <> abscol: self.setcolumn(newcol - l) @@ -369,7 +368,7 @@ def myDrawCell(self, onlyHilite, selected, cellRect, theCell, dataOffset, dataLen, theList): savedPort = Qd.GetPort() - Qd.SetPort(GetListPort(theList)) + Qd.SetPort(theList.GetListPort()) savedClip = Qd.NewRgn() Qd.GetClip(savedClip) Qd.ClipRect(cellRect)
