mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-04-23 23:31:02 +00:00
tweak to use interface style from responder if set.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@22427 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
3d2503f2e3
commit
02e87be139
1 changed files with 2 additions and 2 deletions
|
@ -1439,7 +1439,7 @@ _addLeftBorderOffsetToRect(NSRect aRect)
|
|||
&& [_attachedMenu attachedMenu] != nil && [_attachedMenu attachedMenu] ==
|
||||
[[_items_link objectAtIndex: indexOfActionToExecute] submenu])
|
||||
{
|
||||
if (NSInterfaceStyleForKey(@"NSMenuInterfaceStyle", nil)
|
||||
if (NSInterfaceStyleForKey(@"NSMenuInterfaceStyle", self)
|
||||
== NSMacintoshInterfaceStyle)
|
||||
{
|
||||
/*
|
||||
|
@ -1457,7 +1457,7 @@ _addLeftBorderOffsetToRect(NSRect aRect)
|
|||
return NO;
|
||||
}
|
||||
|
||||
if (NSInterfaceStyleForKey(@"NSMenuInterfaceStyle", nil)
|
||||
if (NSInterfaceStyleForKey(@"NSMenuInterfaceStyle", self)
|
||||
== NSMacintoshInterfaceStyle)
|
||||
{
|
||||
NSMenu *tmp = _attachedMenu;
|
||||
|
|
Loading…
Reference in a new issue