Mercurial > cpython-lru_cache-weakref
diff Mac/Tools/IDE/PythonIDEMain.py @ 19488:42b2f1936254 legacy-trunk
Import the MacOS toolbox modules from the Carbon package.
| author | Jack Jansen <jack.jansen@cwi.nl> |
|---|---|
| date | Sat, 25 Aug 2001 12:15:04 +0000 |
| parents | c5ac6f055c62 |
| children | c1ebc0285a5e |
line wrap: on
line diff
--- a/Mac/Tools/IDE/PythonIDEMain.py Sat Aug 25 11:53:43 2001 +0000 +++ b/Mac/Tools/IDE/PythonIDEMain.py Sat Aug 25 12:15:04 2001 +0000 @@ -14,7 +14,8 @@ def __init__(self): self.preffilepath = ":Python:PythonIDE preferences" Wapplication.Application.__init__(self, 'Pide') - import AE, AppleEvents + from Carbon import AE + from Carbon import AppleEvents AE.AEInstallEventHandler(AppleEvents.kCoreEventClass, AppleEvents.kAEOpenApplication, self.ignoreevent) @@ -123,7 +124,7 @@ self.makescriptsmenu() def quitevent(self, theAppleEvent, theReply): - import AE + from Carbon import AE AE.AEInteractWithUser(50000000) self._quit()
