NSImageView sends mouseDown: to it's nextResponder when it is not editable, as it seems to do in Cocoa.

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/branches/gnustep_testplant_branch@36549 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
Frank Le Grand 2013-04-19 20:50:24 +00:00
parent 7e9050993d
commit cd9c1f8d04

View file

@ -307,6 +307,11 @@ static Class imageCellClass;
- (void) mouseDown: (NSEvent*)theEvent
{
if (![self isEditable])
{
[[self nextResponder] mouseDown:theEvent];
return;
}
if ([self initiatesDrag])
{
NSPasteboard *pboard;