summaryrefslogtreecommitdiffstats
path: root/Mac/Demo/waste
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
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')
-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 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()
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):
diff --git a/Mac/Demo/waste/wed.py b/Mac/Demo/waste/wed.py
index c56ce2b..276bd72 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.InvalRect(vr)
+ Win.InvalWindowRect(vr)
ScrolledWindow.do_postresize(self, width, height, window)
def do_contentclick(self, local, modifiers, evt):