mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-05-20 14:36:36 +00:00
Adopted dragging destination method return values to MacOSX 10.4
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@22893 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
b6341d6e1a
commit
43537498de
9 changed files with 26 additions and 13 deletions
|
@ -151,7 +151,7 @@ static Class imageCellClass;
|
|||
|
||||
@implementation NSImageView (NSDraggingDestination)
|
||||
|
||||
- (unsigned int) draggingEntered: (id <NSDraggingInfo>)sender
|
||||
- (NSDragOperation) draggingEntered: (id <NSDraggingInfo>)sender
|
||||
{
|
||||
if (([sender draggingSource] != self) && ([self isEditable]) &&
|
||||
([NSImage canInitWithPasteboard: [sender draggingPasteboard]]))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue