Image updates from Jonathon Gapen

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@5343 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
Richard Frith-MacDonald 1999-12-01 08:26:33 +00:00
parent 135cf168a5
commit 9bced6fe97
6 changed files with 104 additions and 29 deletions

View file

@ -1790,6 +1790,22 @@ GSSetDragTypes(NSView* obj, NSArray *types)
return NO;
}
- (NSScrollView*) enclosingScrollView
{
id aView = [self superview];
while (aView != nil)
{
if ([aView isKindOfClass: [NSScrollView class]])
{
break;
}
aView = [aView superview];
}
return aView;
}
/*
* Managing the Cursor
*