summaryrefslogtreecommitdiffstats
path: root/Mac/Demo/waste/swed.py
diff options
context:
space:
mode:
authorJack Jansen <jack.jansen@cwi.nl>2001-01-23 14:34:49 (GMT)
committerJack Jansen <jack.jansen@cwi.nl>2001-01-23 14:34:49 (GMT)
commitd829e9e8e319dfb7f6ac04c4b4b4c25f544064c0 (patch)
tree8aaa4b76c8337b8206caad87be89a70c52f654db /Mac/Demo/waste/swed.py
parentf79cb2db3eae59f80e8031d45376dc5f48d2af04 (diff)
downloadcpython-d829e9e8e319dfb7f6ac04c4b4b4c25f544064c0.zip
cpython-d829e9e8e319dfb7f6ac04c4b4b4c25f544064c0.tar.gz
cpython-d829e9e8e319dfb7f6ac04c4b4b4c25f544064c0.tar.bz2
Replaced InvalRect and friends with the Carbon-compliant InvalWindowRect.
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):