diff options
author | Jack Jansen <jack.jansen@cwi.nl> | 2001-01-23 14:34:49 (GMT) |
---|---|---|
committer | Jack Jansen <jack.jansen@cwi.nl> | 2001-01-23 14:34:49 (GMT) |
commit | d829e9e8e319dfb7f6ac04c4b4b4c25f544064c0 (patch) | |
tree | 8aaa4b76c8337b8206caad87be89a70c52f654db /Mac/Tools/IDE/Wwindows.py | |
parent | f79cb2db3eae59f80e8031d45376dc5f48d2af04 (diff) | |
download | cpython-d829e9e8e319dfb7f6ac04c4b4b4c25f544064c0.zip cpython-d829e9e8e319dfb7f6ac04c4b4b4c25f544064c0.tar.gz cpython-d829e9e8e319dfb7f6ac04c4b4b4c25f544064c0.tar.bz2 |
Replaced InvalRect and friends with the Carbon-compliant InvalWindowRect.
Diffstat (limited to 'Mac/Tools/IDE/Wwindows.py')
-rw-r--r-- | Mac/Tools/IDE/Wwindows.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Mac/Tools/IDE/Wwindows.py b/Mac/Tools/IDE/Wwindows.py index 37ad47e..1ab5056 100644 --- a/Mac/Tools/IDE/Wwindows.py +++ b/Mac/Tools/IDE/Wwindows.py @@ -157,7 +157,7 @@ class Window(FrameWork.Window, Wbase.SelectableWidget): if y == None: x, y = x self.SetPort() - Win.InvalRect(self.getgrowrect()) + Win.InvalWindowRect(self.getgrowrect()) self.wid.SizeWindow(x, y, 1) self._calcbounds() @@ -247,7 +247,7 @@ class Window(FrameWork.Window, Wbase.SelectableWidget): def drawwidgetbounds(self, onoff): self._drawwidgetbounds = onoff self.SetPort() - Win.InvalRect(self._bounds) + Win.InvalWindowRect(self._bounds) def _drawbounds(self): pass @@ -353,7 +353,7 @@ class Window(FrameWork.Window, Wbase.SelectableWidget): self.draw() def do_postresize(self, width, height, window): - Win.InvalRect(self.getgrowrect()) + Win.InvalWindowRect(self.getgrowrect()) self._calcbounds() def do_inGoAway(self, partcode, window, event): |