Sigh... First test before committing. InvalWindowRect and friends are window object methods. Fixed.

This commit is contained in:
Jack Jansen 2001-01-23 14:58:20 +00:00
parent 43bb2a4f44
commit 7302340436
14 changed files with 55 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.InvalWindowRect(self.getgrowrect())
self.GetWindow().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.InvalWindowRect(self._bounds)
self.GetWindow().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.InvalWindowRect(self.getgrowrect())
self.GetWindow().InvalWindowRect(self.getgrowrect())
self._calcbounds()
def do_inGoAway(self, partcode, window, event):