diff options
author | Jack Jansen <jack.jansen@cwi.nl> | 2001-01-23 14:58:20 (GMT) |
---|---|---|
committer | Jack Jansen <jack.jansen@cwi.nl> | 2001-01-23 14:58:20 (GMT) |
commit | 73023404369dca5216fc81e1fa21d19a03498a3f (patch) | |
tree | 3c80b0560c8cc0e01a049ab8515a2ed62a69ca41 /Mac/Tools/IDE/Wlists.py | |
parent | 43bb2a4f44bb936cf4d950ee23ccd248276f4b07 (diff) | |
download | cpython-73023404369dca5216fc81e1fa21d19a03498a3f.zip cpython-73023404369dca5216fc81e1fa21d19a03498a3f.tar.gz cpython-73023404369dca5216fc81e1fa21d19a03498a3f.tar.bz2 |
Sigh... First test before committing. InvalWindowRect and friends are window object methods. Fixed.
Diffstat (limited to 'Mac/Tools/IDE/Wlists.py')
-rw-r--r-- | Mac/Tools/IDE/Wlists.py | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/Mac/Tools/IDE/Wlists.py b/Mac/Tools/IDE/Wlists.py index 08853f4..dd43a2d 100644 --- a/Mac/Tools/IDE/Wlists.py +++ b/Mac/Tools/IDE/Wlists.py @@ -57,11 +57,11 @@ class List(Wbase.SelectableWidget): def adjust(self, oldbounds): self.SetPort() if self._selected: - Win.InvalWindowRect(Qd.InsetRect(oldbounds, -3, -3)) - Win.InvalWindowRect(Qd.InsetRect(self._bounds, -3, -3)) + self.GetWindow().InvalWindowRect(Qd.InsetRect(oldbounds, -3, -3)) + self.GetWindow().InvalWindowRect(Qd.InsetRect(self._bounds, -3, -3)) else: - Win.InvalWindowRect(oldbounds) - Win.InvalWindowRect(self._bounds) + self.GetWindow().InvalWindowRect(oldbounds) + self.GetWindow().InvalWindowRect(self._bounds) if oldbounds[:2] == self._bounds[:2]: # set visRgn to empty, to prevent nasty drawing side effect of LSize() Qd.RectRgn(self._parentwindow.wid.GetWindowPort().visRgn, (0, 0, 0, 0)) @@ -359,7 +359,7 @@ class List(Wbase.SelectableWidget): self.SetPort() Qd.EraseRect((l, cb, cr, b)) self._list.LUpdate(self._parentwindow.wid.GetWindowPort().visRgn) - Win.ValidWindowRect(bounds) + self.GetWindow().ValidWindowRect(bounds) else: if self.drawingmode == 0 and self._list is not None: self._list.LSetDrawingMode(0) |