summaryrefslogtreecommitdiffstats
path: root/Mac/Tools/IDE/Wquicktime.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/Tools/IDE/Wquicktime.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/Tools/IDE/Wquicktime.py')
-rw-r--r--Mac/Tools/IDE/Wquicktime.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/Mac/Tools/IDE/Wquicktime.py b/Mac/Tools/IDE/Wquicktime.py
index a33462a..224fd5f 100644
--- a/Mac/Tools/IDE/Wquicktime.py
+++ b/Mac/Tools/IDE/Wquicktime.py
@@ -24,14 +24,14 @@ class Movie(W.Widget):
def adjust(self, oldbounds):
self.SetPort()
- Win.InvalRect(oldbounds)
- Win.InvalRect(self._bounds)
+ Win.InvalWindowRect(oldbounds)
+ Win.InvalWindowRect(self._bounds)
self.calcmoviebox()
def set(self, path_or_fss, start = 0):
self.SetPort()
if self.movie:
- #Win.InvalRect(self.movie.GetMovieBox())
+ #Win.InvalWindowRect(self.movie.GetMovieBox())
Qd.PaintRect(self.movie.GetMovieBox())
if type(path_or_fss) == type(''):
path = path_or_fss
@@ -106,7 +106,7 @@ class Movie(W.Widget):
elif self.running:
box = self.movie.GetMovieBox()
self.SetPort()
- Win.InvalRect(box)
+ Win.InvalWindowRect(box)
self.movie = None
self.running = 0