More use of wxFALLTHROUGH in MSW code and samples

This commit is contained in:
Maarten Bent
2017-11-25 17:48:37 +01:00
parent 6315ae04fb
commit afc02a34ee
11 changed files with 27 additions and 2 deletions

View File

@@ -182,6 +182,7 @@ wxFontEncoding wxGetFontEncFromCharSet(int cs)
default:
wxFAIL_MSG( wxT("unexpected Win32 charset") );
// fall through and assume the system charset
wxFALLTHROUGH;
case DEFAULT_CHARSET:
fontEncoding = wxFONTENCODING_SYSTEM;