adding wxFALLTHROUGH where until now we had comments, allows for code-analysis support
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@76399 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -4958,7 +4958,7 @@ void wxGrid::OnKeyDown( wxKeyEvent& event )
|
||||
MoveCursorRight(false);
|
||||
break;
|
||||
}
|
||||
//else: fall through
|
||||
wxFALLTHROUGH;
|
||||
|
||||
default:
|
||||
event.Skip();
|
||||
@@ -5173,7 +5173,7 @@ wxGrid::UpdateBlockBeingSelected(int topRow, int leftCol,
|
||||
{
|
||||
default:
|
||||
wxFAIL_MSG( "unknown selection mode" );
|
||||
// fall through
|
||||
wxFALLTHROUGH;
|
||||
|
||||
case wxGridSelectCells:
|
||||
// arbitrary blocks selection allowed so just use the cell
|
||||
|
Reference in New Issue
Block a user