Fix unannotated fall-through warnings

This commit is contained in:
Maarten Bent
2018-11-25 20:22:44 +01:00
parent 39ff5b90e5
commit eb23d4735c
47 changed files with 84 additions and 77 deletions

View File

@@ -379,7 +379,7 @@ void ToggleWidgetsPage::CreateToggle()
default:
wxFAIL_MSG("unexpected radiobox selection");
// fall through
wxFALLTHROUGH;
case ToggleHAlign_Centre:
break;
@@ -397,7 +397,7 @@ void ToggleWidgetsPage::CreateToggle()
default:
wxFAIL_MSG("unexpected radiobox selection");
// fall through
wxFALLTHROUGH;
case ToggleVAlign_Centre:
// centre vertical alignment is the default (no style)