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/Demo/PICTbrowse/oldPICTbrowse.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/Demo/PICTbrowse/oldPICTbrowse.py')
-rw-r--r-- | Mac/Demo/PICTbrowse/oldPICTbrowse.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Mac/Demo/PICTbrowse/oldPICTbrowse.py b/Mac/Demo/PICTbrowse/oldPICTbrowse.py index 70b910e..72a29de 100644 --- a/Mac/Demo/PICTbrowse/oldPICTbrowse.py +++ b/Mac/Demo/PICTbrowse/oldPICTbrowse.py @@ -24,7 +24,7 @@ def main(): dummy = Res.GetResource('DLOG', ID_MAIN) except Res.Error: try: - Res.OpenResFile("oldPICTbrowse.rsrc") + Res.FSpOpenResFile("oldPICTbrowse.rsrc", 0) except Res.Error, arg: EasyDialogs.Message("Cannot open PICTbrowse.rsrc: "+arg[1]) sys.exit(1) |