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:
gcasa 2010-01-19 18:48:00 +00:00
parent 5bc41a34b0
commit e65a790956
2 changed files with 6 additions and 1 deletions

View file

@ -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;
}