mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-04-25 07:01:22 +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] ==
|
&& [_attachedMenu attachedMenu] != nil && [_attachedMenu attachedMenu] ==
|
||||||
[[_items_link objectAtIndex: indexOfActionToExecute] submenu])
|
[[_items_link objectAtIndex: indexOfActionToExecute] submenu])
|
||||||
{
|
{
|
||||||
if (NSInterfaceStyleForKey(@"NSMenuInterfaceStyle", nil)
|
if (NSInterfaceStyleForKey(@"NSMenuInterfaceStyle", self)
|
||||||
== NSMacintoshInterfaceStyle)
|
== NSMacintoshInterfaceStyle)
|
||||||
{
|
{
|
||||||
/*
|
/*
|
||||||
|
@ -1457,7 +1457,7 @@ _addLeftBorderOffsetToRect(NSRect aRect)
|
||||||
return NO;
|
return NO;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (NSInterfaceStyleForKey(@"NSMenuInterfaceStyle", nil)
|
if (NSInterfaceStyleForKey(@"NSMenuInterfaceStyle", self)
|
||||||
== NSMacintoshInterfaceStyle)
|
== NSMacintoshInterfaceStyle)
|
||||||
{
|
{
|
||||||
NSMenu *tmp = _attachedMenu;
|
NSMenu *tmp = _attachedMenu;
|
||||||
|
|
Loading…
Reference in a new issue