diff --git a/samples/grid/griddemo.cpp b/samples/grid/griddemo.cpp index 8c41f27e4b..ab25e4e7cb 100644 --- a/samples/grid/griddemo.cpp +++ b/samples/grid/griddemo.cpp @@ -2037,7 +2037,7 @@ wxString BugsGridTable::GetTypeName(int WXUNUSED(row), int col) return wxGRID_VALUE_NUMBER; case Col_Severity: - // fall through (TODO should be a list) + wxFALLTHROUGH; case Col_Summary: return wxString::Format("%s:80", wxGRID_VALUE_STRING); diff --git a/samples/widgets/slider.cpp b/samples/widgets/slider.cpp index fcfeb45ff3..bd30df106a 100644 --- a/samples/widgets/slider.cpp +++ b/samples/widgets/slider.cpp @@ -471,7 +471,6 @@ void SliderWidgetsPage::CreateSlider() default: wxFAIL_MSG("unexpected radiobox selection"); - // fall through } if ( m_chkBothSides->GetValue() )