Fix unannotated fall-through warnings
This commit is contained in:
@@ -416,7 +416,7 @@ void ButtonWidgetsPage::CreateButton()
|
||||
|
||||
default:
|
||||
wxFAIL_MSG("unexpected radiobox selection");
|
||||
// fall through
|
||||
wxFALLTHROUGH;
|
||||
|
||||
case ButtonHAlign_Centre:
|
||||
break;
|
||||
@@ -434,7 +434,7 @@ void ButtonWidgetsPage::CreateButton()
|
||||
|
||||
default:
|
||||
wxFAIL_MSG("unexpected radiobox selection");
|
||||
// fall through
|
||||
wxFALLTHROUGH;
|
||||
|
||||
case ButtonVAlign_Centre:
|
||||
// centre vertical alignment is the default (no style)
|
||||
|
Reference in New Issue
Block a user