summaryrefslogtreecommitdiffstats
path: root/Mac/Demo
diff options
context:
space:
mode:
authorJack Jansen <jack.jansen@cwi.nl>2001-01-23 14:58:20 (GMT)
committerJack Jansen <jack.jansen@cwi.nl>2001-01-23 14:58:20 (GMT)
commit73023404369dca5216fc81e1fa21d19a03498a3f (patch)
tree3c80b0560c8cc0e01a049ab8515a2ed62a69ca41 /Mac/Demo
parent43bb2a4f44bb936cf4d950ee23ccd248276f4b07 (diff)
downloadcpython-73023404369dca5216fc81e1fa21d19a03498a3f.zip
cpython-73023404369dca5216fc81e1fa21d19a03498a3f.tar.gz
cpython-73023404369dca5216fc81e1fa21d19a03498a3f.tar.bz2
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.py4
-rw-r--r--Mac/Demo/waste/swed.py2
-rw-r--r--Mac/Demo/waste/wed.py2
3 files changed, 4 insertions, 4 deletions
diff --git a/Mac/Demo/waste/htmled.py b/Mac/Demo/waste/htmled.py
index ec6f58b..b66814a 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 cfaae9d..035c97c 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 276bd72..7b40864 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):