mirror of
https://github.com/python/cpython.git
synced 2025-08-03 08:34:29 +00:00
We always install the Sioux menubar, in stead of only when no menubar
was installed previously. This fixes bug #476904, but I'm not 100% sure it doesn't break anything else. But if it does I'll notice tomorrow when I try to build GRiNS:-)
This commit is contained in:
parent
d2e40d6691
commit
95837f1973
1 changed files with 8 additions and 0 deletions
|
@ -720,7 +720,15 @@ PyMac_InitMenuBar()
|
|||
MenuHandle applemenu;
|
||||
|
||||
if ( sioux_mbar ) return;
|
||||
#if 0
|
||||
/* This code does not seem to work anymore: apparently
|
||||
** we now always have a menubar (since MacOS9?).
|
||||
** So we simply always setup the Sioux menus here.
|
||||
*/
|
||||
if ( (sioux_mbar=GetMenuBar()) == NULL ) {
|
||||
#else
|
||||
{
|
||||
#endif
|
||||
/* Sioux menu not installed yet. Do so */
|
||||
SIOUXSetupMenus();
|
||||
if ( (sioux_mbar=GetMenuBar()) == NULL )
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue