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

@@ -293,7 +293,7 @@ private:
{
default:
wxFAIL_MSG( "unexpected HitTest() result" );
// fall through
wxFALLTHROUGH;
case wxTE_HT_UNKNOWN:
x = y = -1;
@@ -690,6 +690,7 @@ void TextWidgetsPage::CreateText()
{
default:
wxFAIL_MSG( "unexpected lines radio box selection" );
wxFALLTHROUGH;
case TextLines_Single:
break;
@@ -755,6 +756,7 @@ void TextWidgetsPage::CreateText()
{
default:
wxFAIL_MSG( "unexpected kind radio box selection" );
wxFALLTHROUGH;
case TextKind_Plain:
break;