mirror of
https://github.com/python/cpython.git
synced 2025-07-24 11:44:31 +00:00
Changed the few old routine names still used to the new ones
Started working on MSL support
This commit is contained in:
parent
85ae4a82ac
commit
08c3be35c3
3 changed files with 14 additions and 9 deletions
|
@ -173,7 +173,7 @@ PyMac_FixGUSIcd()
|
|||
pb.ioNamePtr= "\p";
|
||||
pb.ioVRefNum= curdirfss.vRefNum;
|
||||
pb.ioWDDirID= curdirfss.parID;
|
||||
if (PBHSetVol(&pb, 0) != noErr)
|
||||
if (PBHSetVolSync(&pb) != noErr)
|
||||
return;
|
||||
}
|
||||
|
||||
|
@ -540,7 +540,7 @@ PyMac_InitMenuBar()
|
|||
MenuHandle applemenu;
|
||||
|
||||
if ( (bar=GetMenuBar()) == NULL ) return;
|
||||
if ( (applemenu=GetMHandle(SIOUX_APPLEID)) == NULL ) return;
|
||||
if ( (applemenu=GetMenuHandle(SIOUX_APPLEID)) == NULL ) return;
|
||||
SetMenuItemText(applemenu, 1, "\pAbout Python...");
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue