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:
@@ -882,7 +882,7 @@ void wxAnyScrollHelperBase::HandleOnChar(wxKeyEvent& event)
|
||||
|
||||
case WXK_LEFT:
|
||||
newEvent.SetOrientation(wxHORIZONTAL);
|
||||
// fall through
|
||||
wxFALLTHROUGH;
|
||||
|
||||
case WXK_UP:
|
||||
newEvent.SetEventType(wxEVT_SCROLLWIN_LINEUP);
|
||||
@@ -890,7 +890,7 @@ void wxAnyScrollHelperBase::HandleOnChar(wxKeyEvent& event)
|
||||
|
||||
case WXK_RIGHT:
|
||||
newEvent.SetOrientation(wxHORIZONTAL);
|
||||
// fall through
|
||||
wxFALLTHROUGH;
|
||||
|
||||
case WXK_DOWN:
|
||||
newEvent.SetEventType(wxEVT_SCROLLWIN_LINEDOWN);
|
||||
@@ -1292,7 +1292,7 @@ wxScrollHelper::DoAdjustScrollbar(int orient,
|
||||
|
||||
default:
|
||||
wxFAIL_MSG( wxS("unknown scrollbar visibility") );
|
||||
// fall through
|
||||
wxFALLTHROUGH;
|
||||
|
||||
case wxSHOW_SB_DEFAULT:
|
||||
range = scrollUnits;
|
||||
|
||||
Reference in New Issue
Block a user