Use wxFALLTHROUGH

This commit is contained in:
Paul Cornett
2017-10-17 09:21:45 -07:00
parent 4ec80a35f9
commit ed8a541463
5 changed files with 6 additions and 2 deletions

View File

@@ -698,6 +698,7 @@ void TextWidgetsPage::CreateText()
{
default:
wxFAIL_MSG( wxT("unexpected wrap style radio box selection") );
wxFALLTHROUGH;
case WrapStyle_None:
flags |= wxTE_DONTWRAP; // same as wxHSCROLL