More use of wxFALLTHROUGH
This commit is contained in:
parent
9bfa890480
commit
b3d7a631c0
@ -216,6 +216,7 @@ void wxCheckBox::DoSet3StateValue(wxCheckBoxState state)
|
||||
case wxCHK_UNCHECKED: status = Status_Unchecked; break;
|
||||
case wxCHK_CHECKED: status = Status_Checked; break;
|
||||
default: wxFAIL_MSG(wxT("Unknown checkbox state"));
|
||||
wxFALLTHROUGH;
|
||||
case wxCHK_UNDETERMINED: status = Status_3rdState; break;
|
||||
}
|
||||
if ( status != m_status )
|
||||
|
@ -1033,7 +1033,7 @@ bool wxStdScrollBarInputHandler::HandleMouse(wxInputConsumer *consumer,
|
||||
consumer->PerformAction(wxACTION_SCROLL_THUMB_DRAG);
|
||||
m_ofsMouse = GetMouseCoord(scrollbar, event) -
|
||||
scrollbar->ScrollbarToPixel();
|
||||
|
||||
wxFALLTHROUGH;
|
||||
// fall through: there is no immediate action
|
||||
|
||||
default:
|
||||
|
Loading…
Reference in New Issue
Block a user