* NSMenuItem.h ADDITIONAL_WIDTH increase defined size (fix overlap in Edit)

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@3169 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
Felipe A. Rodriguez 1998-11-03 21:04:55 +00:00
parent be7fb430f7
commit 35bbbfdb6b
4 changed files with 40 additions and 29 deletions

View file

@ -111,20 +111,19 @@ static NSString *nsview_thread_key = @"NSViewThreadKey";
+ (NSView *)focusView
{
NSMutableDictionary *dict = [[NSThread currentThread] threadDictionary];
NSMutableArray *stack = [dict objectForKey: nsview_thread_key];
NSView *current_view = nil;
NSMutableDictionary *dict = [[NSThread currentThread] threadDictionary];
NSMutableArray *stack = [dict objectForKey: nsview_thread_key];
NSView *current_view = nil;
if (stack)
{
unsigned count = [stack count];
if (stack)
{
unsigned count = [stack count];
if (count > 0)
{
current_view = [stack objectAtIndex: --count];
}
}
return current_view;
if (count > 0)
current_view = [stack objectAtIndex: --count];
}
return current_view;
}
- init