Sigh... First test before committing. InvalWindowRect and friends are window object methods. Fixed.
diff --git a/Mac/Tools/IDE/Wwindows.py b/Mac/Tools/IDE/Wwindows.py
index 1ab5056..2d449c7 100644
--- a/Mac/Tools/IDE/Wwindows.py
+++ b/Mac/Tools/IDE/Wwindows.py
@@ -157,7 +157,7 @@
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 @@
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 @@
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):