mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-04-23 20:01:11 +00:00
Correct problem with popups in windows 95 mode.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@29314 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
0aaba869e3
commit
a86d938f74
2 changed files with 6 additions and 1 deletions
|
@ -1,3 +1,8 @@
|
|||
2010-01-19 13:49-EST Gregory John Casamento <greg.casamento@gmail.com>
|
||||
|
||||
* Source/NSMenu.m: Allow menus attached to popups to come up
|
||||
in Windows95 mode.
|
||||
|
||||
2010-01-19 Fred Kiefer <FredKiefer@gmx.de>
|
||||
|
||||
* Source/NSMenu.m (-initWithCoder:): Use YES as default value for
|
||||
|
|
|
@ -155,7 +155,7 @@ static BOOL menuBarVisible = YES;
|
|||
if (style == NSWindows95InterfaceStyle)
|
||||
{
|
||||
// if we're the top level menu in Windows mode, don't show it.
|
||||
if([_the_menu supermenu] == nil)
|
||||
if([_the_menu supermenu] == nil && [_the_menu _ownedByPopUp] == NO)
|
||||
{
|
||||
return;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue