summaryrefslogtreecommitdiffstats
path: root/Mac/Demo/waste/swed.py
diff options
context:
space:
mode:
Diffstat (limited to 'Mac/Demo/waste/swed.py')
-rw-r--r--Mac/Demo/waste/swed.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Mac/Demo/waste/swed.py b/Mac/Demo/waste/swed.py
index 473d777..cfaae9d 100644
--- a/Mac/Demo/waste/swed.py
+++ b/Mac/Demo/waste/swed.py
@@ -163,7 +163,7 @@ class WasteWindow(ScrolledWindow):
l, t, r, b = self.ted.WEGetViewRect()
vr = (l, t, l+width-15, t+height-15)
self.ted.WESetViewRect(vr)
- Win.InvalRect(vr)
+ Win.InvalWindowRect(vr)
ScrolledWindow.do_postresize(self, width, height, window)
def do_contentclick(self, local, modifiers, evt):