Fix implicit-fallthrough warning

This commit is contained in:
Maarten Bent
2020-12-22 15:42:56 +01:00
parent 062147ff1c
commit 0438ca19c1
12 changed files with 12 additions and 11 deletions

View File

@@ -901,7 +901,7 @@ void wxMenu::GtkAppend(wxMenuItem* mitem, int pos)
break;
default:
wxFAIL_MSG("unexpected menu item kind");
// fall through
wxFALLTHROUGH;
case wxITEM_NORMAL:
#ifdef __WXGTK4__
//TODO GtkImageMenuItem is gone, have to implement it ourselves with