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

@@ -229,7 +229,7 @@ void wxNativeFontInfo::SetStyle(wxFontStyle style)
break;
default:
wxFAIL_MSG( "unknown font style" );
// fall through
wxFALLTHROUGH;
case wxFONTSTYLE_NORMAL:
pango_font_description_set_style( description, PANGO_STYLE_NORMAL );
break;