fixed broken drag and drop in 1.4.17

This commit is contained in:
jerry 2014-03-25 15:08:00 +00:00
parent ff3a1a649b
commit bc160fab01
1 changed files with 2 additions and 2 deletions

View File

@ -103,7 +103,7 @@ draggingDestinationWindow
- (NSDragOperation)
draggingSourceOperationMask
{
return NSDragOperationNone;
return NSDragOperationCopy;
}
- (NSPoint)draggingLocation
@ -144,7 +144,7 @@ draggingSourceOperationMask
- (NSDragOperation)draggingSession:(NSDraggingSession *)session sourceOperationMaskForDraggingContext:(NSDraggingContext)context
{
return NSDragOperationNone;
return NSDragOperationCopy;
}
- (void)enumerateDraggingItemsWithOptions:(NSDraggingItemEnumerationOptions)enumOpts forView:(NSView *)view classes:(NSArray *)classArray searchOptions:(NSDictionary *)searchOptions usingBlock:(void (^)(NSDraggingItem *draggingItem, NSInteger idx, BOOL *stop))block