summaryrefslogtreecommitdiffstats
path: root/Mac/Lib/FrameWork.py
diff options
context:
space:
mode:
authorJack Jansen <jack.jansen@cwi.nl>1995-07-17 13:25:15 (GMT)
committerJack Jansen <jack.jansen@cwi.nl>1995-07-17 13:25:15 (GMT)
commite4b4038cb20f47d5fd8a3f165bdcf9ef930e8f99 (patch)
tree8a6614c29fea321ec17fd273e51ddaa699921e19 /Mac/Lib/FrameWork.py
parentbc608646a88bada9bee0ba2b66964e69777f564a (diff)
downloadcpython-e4b4038cb20f47d5fd8a3f165bdcf9ef930e8f99.zip
cpython-e4b4038cb20f47d5fd8a3f165bdcf9ef930e8f99.tar.gz
cpython-e4b4038cb20f47d5fd8a3f165bdcf9ef930e8f99.tar.bz2
Various toolbox routines have gotten new names.
Diffstat (limited to 'Mac/Lib/FrameWork.py')
-rw-r--r--Mac/Lib/FrameWork.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/Mac/Lib/FrameWork.py b/Mac/Lib/FrameWork.py
index 3e60f70..d1592ed 100644
--- a/Mac/Lib/FrameWork.py
+++ b/Mac/Lib/FrameWork.py
@@ -5,7 +5,7 @@ import MacOS
import traceback
from addpack import addpack
-addpack('Demo')
+addpack('Tools')
addpack('bgen')
addpack('ae')
#addpack('ctl')
@@ -377,7 +377,7 @@ class Menu:
self.menu.AppendMenu('x') # add a dummy string
self.items.append(label, shortcut, callback, kind)
item = len(self.items)
- self.menu.SetItem(item, label) # set the actual text
+ self.menu.SetMenuItemText(item, label) # set the actual text
if shortcut:
self.menu.SetItemCmd(item, ord(shortcut))
return item
@@ -429,7 +429,7 @@ class AppleMenu(Menu):
Menu.__init__(self, bar, "\024")
self.additem(abouttext, None, aboutcallback)
self.addseparator()
- self.menu.AddResMenu('DRVR')
+ self.menu.AppendResMenu('DRVR')
def dispatch(self, id, item, window, event):
if item == 1: