diff options
Diffstat (limited to 'Mac/Demo/waste/htmled.py')
-rw-r--r-- | Mac/Demo/waste/htmled.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Mac/Demo/waste/htmled.py b/Mac/Demo/waste/htmled.py index c6ae2e7..ec6f58b 100644 --- a/Mac/Demo/waste/htmled.py +++ b/Mac/Demo/waste/htmled.py @@ -194,7 +194,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): @@ -290,7 +290,7 @@ class WasteWindow(ScrolledWindow): self.ted.WESetSelection(start, end) self.ted.WESelView() self.ted.WEFeatureFlag(WASTEconst.weFInhibitRecal, 0) - Win.InvalRect(self.ted.WEGetViewRect()) + Win.InvalWindowRect(self.ted.WEGetViewRect()) self.updatescrollbars() self.parent.updatemenubar() |