Use FSpCreateResFile() in stead of CreateResFile().

Don't call OpenDeskAcc() and AppendResMenu() on Carbon.
This commit is contained in:
Jack Jansen 2001-01-29 15:32:00 +00:00
parent bf21bef254
commit 01a2d9e281
9 changed files with 14 additions and 18 deletions

View file

@ -674,12 +674,13 @@ class AppleMenu(Menu):
Menu.__init__(self, bar, "\024")
self.additem(abouttext, None, aboutcallback)
self.addseparator()
self.menu.AppendResMenu('DRVR')
if MacOS.runtimemodel == 'ppc':
self.menu.AppendResMenu('DRVR')
def dispatch(self, id, item, window, event):
if item == 1:
Menu.dispatch(self, id, item, window, event)
else:
elif MacOS.runtimemodel == 'ppc':
name = self.menu.GetMenuItemText(item)
OpenDeskAcc(name)