Replaced InvalRect and friends with the Carbon-compliant InvalWindowRect.

This commit is contained in:
Jack Jansen 2001-01-23 14:34:49 +00:00
parent f79cb2db3e
commit d829e9e8e3
15 changed files with 48 additions and 48 deletions

View file

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