Replaced InvalRect and friends with the Carbon-compliant InvalWindowRect.
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 @@
 		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):