mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-05-31 00:20:49 +00:00
Dragging updates
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@4672 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
37d6c4ea24
commit
0294285bee
10 changed files with 219 additions and 7 deletions
|
@ -271,7 +271,7 @@ NSGraphicsContext *GSCurrentContext()
|
|||
{
|
||||
id o = [types objectAtIndex: i];
|
||||
|
||||
[old removeObject: o];
|
||||
[old addObject: o];
|
||||
}
|
||||
if ([old count] == originalCount)
|
||||
return NO;
|
||||
|
@ -323,6 +323,17 @@ NSGraphicsContext *GSCurrentContext()
|
|||
return (NSCountedSet*)NSMapGet(drag_types, (void*)winNum);
|
||||
}
|
||||
|
||||
- (id <NSDraggingInfo>)_dragInfo
|
||||
{
|
||||
[self subclassResponsibility: _cmd];
|
||||
return nil;
|
||||
}
|
||||
|
||||
- (void) _postExternalEvent: (NSEvent *)event;
|
||||
{
|
||||
[self subclassResponsibility: _cmd];
|
||||
}
|
||||
|
||||
/*
|
||||
* Misc window management support.
|
||||
*/
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue