diff options
author | Jack Jansen <jack.jansen@cwi.nl> | 2001-01-23 14:34:49 (GMT) |
---|---|---|
committer | Jack Jansen <jack.jansen@cwi.nl> | 2001-01-23 14:34:49 (GMT) |
commit | d829e9e8e319dfb7f6ac04c4b4b4c25f544064c0 (patch) | |
tree | 8aaa4b76c8337b8206caad87be89a70c52f654db /Mac/Tools/IDE/Wquicktime.py | |
parent | f79cb2db3eae59f80e8031d45376dc5f48d2af04 (diff) | |
download | cpython-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.py | 8 |
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 |