Fix unannotated fall-through warnings
This commit is contained in:
@@ -1561,7 +1561,7 @@ WXDWORD wxWindowMSW::MSWGetStyle(long flags, WXDWORD *exstyle) const
|
||||
default:
|
||||
case wxBORDER_DEFAULT:
|
||||
wxFAIL_MSG( wxT("unknown border style") );
|
||||
// fall through
|
||||
wxFALLTHROUGH;
|
||||
|
||||
case wxBORDER_NONE:
|
||||
case wxBORDER_SIMPLE:
|
||||
@@ -2257,7 +2257,7 @@ wxSize wxWindowMSW::DoGetBorderSize() const
|
||||
|
||||
default:
|
||||
wxFAIL_MSG( wxT("unknown border style") );
|
||||
// fall through
|
||||
wxFALLTHROUGH;
|
||||
|
||||
case wxBORDER_NONE:
|
||||
border = 0;
|
||||
@@ -2540,7 +2540,7 @@ bool wxWindowMSW::MSWProcessMessage(WXMSG* pMsg)
|
||||
|
||||
case VK_PRIOR:
|
||||
bForward = false;
|
||||
// fall through
|
||||
wxFALLTHROUGH;
|
||||
|
||||
case VK_NEXT:
|
||||
// we treat PageUp/Dn as arrows because chances are that
|
||||
@@ -4502,7 +4502,7 @@ bool wxWindowMSW::HandlePower(WXWPARAM wParam,
|
||||
|
||||
default:
|
||||
wxLogDebug(wxT("Unknown WM_POWERBROADCAST(%d) event"), wParam);
|
||||
// fall through
|
||||
wxFALLTHROUGH;
|
||||
|
||||
// these messages are currently not mapped to wx events
|
||||
case PBT_APMQUERYSTANDBY:
|
||||
@@ -5106,7 +5106,7 @@ bool wxWindowMSW::HandleEraseBkgnd(WXHDC hdc)
|
||||
return true;
|
||||
}
|
||||
}
|
||||
// fall through
|
||||
wxFALLTHROUGH;
|
||||
|
||||
case wxBG_STYLE_SYSTEM:
|
||||
if ( !DoEraseBackground(hdc) )
|
||||
|
Reference in New Issue
Block a user