diff options
author | Jack Jansen <jack.jansen@cwi.nl> | 2001-08-25 12:15:04 (GMT) |
---|---|---|
committer | Jack Jansen <jack.jansen@cwi.nl> | 2001-08-25 12:15:04 (GMT) |
commit | 5a6fdcd3718927109592c6df692fe24a8fdaee31 (patch) | |
tree | 3816c4cbfcf1533dee55a48a8eec2c3557ae44cc /Mac/Tools/macfreeze | |
parent | 6dba6bc0a226c2dd384d9311b9ad842be653c2b5 (diff) | |
download | cpython-5a6fdcd3718927109592c6df692fe24a8fdaee31.zip cpython-5a6fdcd3718927109592c6df692fe24a8fdaee31.tar.gz cpython-5a6fdcd3718927109592c6df692fe24a8fdaee31.tar.bz2 |
Import the MacOS toolbox modules from the Carbon package.
Diffstat (limited to 'Mac/Tools/macfreeze')
-rw-r--r-- | Mac/Tools/macfreeze/macfreezegui.py | 4 | ||||
-rw-r--r-- | Mac/Tools/macfreeze/macgen_bin.py | 2 | ||||
-rw-r--r-- | Mac/Tools/macfreeze/macgen_rsrc.py | 2 |
3 files changed, 4 insertions, 4 deletions
diff --git a/Mac/Tools/macfreeze/macfreezegui.py b/Mac/Tools/macfreeze/macfreezegui.py index c3311b7..a834138 100644 --- a/Mac/Tools/macfreeze/macfreezegui.py +++ b/Mac/Tools/macfreeze/macfreezegui.py @@ -1,11 +1,11 @@ """macfreezegui - The GUI for macfreeze""" -import Dlg +from Carbon import Dlg import macfs import EasyDialogs import sys import os import string -import Res +from Carbon import Res ID_MAINDIALOG=512 diff --git a/Mac/Tools/macfreeze/macgen_bin.py b/Mac/Tools/macfreeze/macgen_bin.py index 42aaf40..c72bb3c 100644 --- a/Mac/Tools/macfreeze/macgen_bin.py +++ b/Mac/Tools/macfreeze/macgen_bin.py @@ -7,7 +7,7 @@ import types import macfs from MACFS import * import MacOS -import Res +from Carbon import Res import py_resource import cfmfile import buildtools diff --git a/Mac/Tools/macfreeze/macgen_rsrc.py b/Mac/Tools/macfreeze/macgen_rsrc.py index cbf5e0e..03fc0af 100644 --- a/Mac/Tools/macfreeze/macgen_rsrc.py +++ b/Mac/Tools/macfreeze/macgen_rsrc.py @@ -1,7 +1,7 @@ """macgen_info - Generate PYC resource file only""" import EasyDialogs import py_resource -import Res +from Carbon import Res import sys def generate(output, module_dict, debug=0, preload=1): |