mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-06-01 11:21:55 +00:00
Synchronised with trunk at revision 23586
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/branches/themes@23587 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
7955334e4d
commit
a50e814e6d
66 changed files with 3847 additions and 1439 deletions
|
@ -307,7 +307,12 @@ static NSMutableArray *screenArray = nil;
|
|||
switch (NSInterfaceStyleForKey(@"NSMenuInterfaceStyle", nil))
|
||||
{
|
||||
case NSMacintoshInterfaceStyle:
|
||||
if ([NSApp mainMenu] != nil)
|
||||
if ([NSApp mainMenu] == nil)
|
||||
{
|
||||
// No menu yet ... assume a standard height
|
||||
visFrame.size.height -= 23.0;
|
||||
}
|
||||
else
|
||||
{
|
||||
float menuHeight = [[[NSApp mainMenu] window] frame].size.height;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue