Add defaults to switch statements to avoid many warnings about unhandled enum values

This commit is contained in:
Paul Cornett
2019-04-05 09:26:05 -07:00
parent 67773f58f1
commit 8791313aff
3 changed files with 7 additions and 0 deletions

View File

@@ -115,6 +115,8 @@ static void InsertMenuItemAction( const wxMenu *menu, const wxMenuItem *previous
}
break;
}
default:
break;
}
// Insert the action into the actual menu:
QAction *successiveItemAction = ( successiveItem != NULL ) ? successiveItem->GetHandle() : NULL;