mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-05-20 14:56:36 +00:00
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:
parent
135cf168a5
commit
9bced6fe97
6 changed files with 104 additions and 29 deletions
|
@ -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
|
||||
*
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue