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:
nsresult = NSDragOperationLink;
break;
case wxDragMove:
nsresult = NSDragOperationMove;
break;
case wxDragCopy:
nsresult = NSDragOperationCopy;
break;
default :
break;
}