Fix mouse cursor not changing on OS X during DND

The cursor almost always looks like the one used for copying. Add
missing breaks in a switch statement to fix this.

See #14726.
This commit is contained in:
Dimitri Schoolwerth
2015-05-27 19:17:20 +04:00
parent ddbfe5720e
commit f40e8bff69

View File

@@ -1215,10 +1215,16 @@ unsigned int wxOnDraggingEnteredOrUpdated(wxWidgetCocoaImpl* viewImpl,
{ {
case wxDragLink: case wxDragLink:
nsresult = NSDragOperationLink; nsresult = NSDragOperationLink;
break;
case wxDragMove: case wxDragMove:
nsresult = NSDragOperationMove; nsresult = NSDragOperationMove;
break;
case wxDragCopy: case wxDragCopy:
nsresult = NSDragOperationCopy; nsresult = NSDragOperationCopy;
break;
default : default :
break; break;
} }