Add defaults to switch statements to avoid many warnings about unhandled enum values
This commit is contained in:
@@ -37,6 +37,8 @@ wxDragResult DropActionToDragResult(Qt::DropAction action)
|
||||
return wxDragMove;
|
||||
case Qt::LinkAction:
|
||||
return wxDragLink;
|
||||
default:
|
||||
break;
|
||||
}
|
||||
|
||||
wxFAIL_MSG("Illegal drop action");
|
||||
|
Reference in New Issue
Block a user