summaryrefslogtreecommitdiffstats
path: root/Mac/Lib/test/tscrollwin.py
diff options
context:
space:
mode:
Diffstat (limited to 'Mac/Lib/test/tscrollwin.py')
-rw-r--r--Mac/Lib/test/tscrollwin.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Mac/Lib/test/tscrollwin.py b/Mac/Lib/test/tscrollwin.py
index 40e9d67..d91f6b9 100644
--- a/Mac/Lib/test/tscrollwin.py
+++ b/Mac/Lib/test/tscrollwin.py
@@ -47,7 +47,7 @@ class MyWindow(ScrolledWindow):
self.vy = value
else:
self.vy = self.vy + delta
- Win.InvalRect(self.ourrect)
+ Win.InvalWindowRect(self.ourrect)
def do_update(self, wid, event):
Qd.EraseRect(self.ourrect)