Use wxFALLTHROUGH
This commit is contained in:
@@ -432,6 +432,7 @@ void ListboxWidgetsPage::CreateLbox()
|
||||
{
|
||||
default:
|
||||
wxFAIL_MSG( wxT("unexpected radio box selection") );
|
||||
wxFALLTHROUGH;
|
||||
|
||||
case LboxSel_Single: flags |= wxLB_SINGLE; break;
|
||||
case LboxSel_Extended: flags |= wxLB_EXTENDED; break;
|
||||
|
@@ -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
|
||||
|
Reference in New Issue
Block a user