Replaced OpenResFile calls with FSpOpenResFile calls (which are carbon-compatible).

This commit is contained in:
Jack Jansen 2000-06-20 21:59:25 +00:00
parent 3c0d013db4
commit d13c385462
14 changed files with 21 additions and 21 deletions

View file

@ -19,7 +19,7 @@ dstfilename = os.path.join(sys.exec_prefix, "Python IDE")
buildtools.process(template, mainfilename, dstfilename, 1)
targetref = Res.OpenResFile(dstfilename)
targetref = Res.FSpOpenResFile(dstfilename, 3)
Res.UseResFile(targetref)
files = os.listdir(ide_home)
@ -36,6 +36,6 @@ for name in files:
ispackage=0)
# add W resources
wresref = Res.OpenResFile(os.path.join(ide_home, "Widgets.rsrc"))
wresref = Res.FSpOpenResFile(os.path.join(ide_home, "Widgets.rsrc"), 1)
buildtools.copyres(wresref, targetref, [], 0)