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

@@ -1344,8 +1344,9 @@ void MyListCtrl::OnListKeyDown(wxListEvent& event)
{
InsertItemInReportView(event.GetIndex());
}
break;
}
//else: fall through
wxFALLTHROUGH;
default:
LogEvent(event, wxT("OnListKeyDown"));