diff options
author | Jack Jansen <jack.jansen@cwi.nl> | 2001-01-23 14:58:20 +0000 |
---|---|---|
committer | Jack Jansen <jack.jansen@cwi.nl> | 2001-01-23 14:58:20 +0000 |
commit | e55f9c8d719e51dded1f8bd566c05914e35b96a4 (patch) | |
tree | d70a21ab54daabc293600a01b1d5682982cecc36 /Mac/Demo | |
parent | 3999d8dffb6f638598bf3a20e90162936e41c81a (diff) | |
download | cpython-e55f9c8d719e51dded1f8bd566c05914e35b96a4.tar.gz |
Sigh... First test before committing. InvalWindowRect and friends are window object methods. Fixed.
Diffstat (limited to 'Mac/Demo')
-rw-r--r-- | Mac/Demo/waste/htmled.py | 4 | ||||
-rw-r--r-- | Mac/Demo/waste/swed.py | 2 | ||||
-rw-r--r-- | Mac/Demo/waste/wed.py | 2 |
3 files changed, 4 insertions, 4 deletions
diff --git a/Mac/Demo/waste/htmled.py b/Mac/Demo/waste/htmled.py index ec6f58b973..b66814a772 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.InvalWindowRect(vr) + self.wid.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.InvalWindowRect(self.ted.WEGetViewRect()) + self.wid.InvalWindowRect(self.ted.WEGetViewRect()) self.updatescrollbars() self.parent.updatemenubar() diff --git a/Mac/Demo/waste/swed.py b/Mac/Demo/waste/swed.py index cfaae9df88..035c97cb00 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.InvalWindowRect(vr) + self.wid.InvalWindowRect(vr) ScrolledWindow.do_postresize(self, width, height, window) def do_contentclick(self, local, modifiers, evt): diff --git a/Mac/Demo/waste/wed.py b/Mac/Demo/waste/wed.py index 276bd72a1d..7b408648fd 100644 --- a/Mac/Demo/waste/wed.py +++ b/Mac/Demo/waste/wed.py @@ -136,7 +136,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.InvalWindowRect(vr) + self.wid.InvalWindowRect(vr) ScrolledWindow.do_postresize(self, width, height, window) def do_contentclick(self, local, modifiers, evt): |