mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-05-30 13:00:37 +00:00
Fixed problems with menu in windows: transient menus and pop-ups.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@31938 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
47246f7bb0
commit
2d2edfca4f
2 changed files with 8 additions and 1 deletions
|
@ -1658,7 +1658,8 @@ static NSMapTable *viewInfo = 0;
|
|||
in a window*/
|
||||
if (NSInterfaceStyleForKey(@"NSMenuInterfaceStyle", self) ==
|
||||
NSWindows95InterfaceStyle &&
|
||||
anAttachedMenu != nil)
|
||||
![[self menu] isTransient] &&
|
||||
![[self menu] _ownedByPopUp])
|
||||
{
|
||||
if ([self hitTest: location] == nil)
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue