wxASSERT(false) --> wxFAIL

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_3_0_BRANCH@76352 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Paul Cornett
2014-04-15 16:16:58 +00:00
parent 5e499842a7
commit 0780814815

View File

@@ -774,7 +774,7 @@ wxWebViewZoom wxWebViewWebKit::GetZoom() const
}
// to shut up compilers, this can never be reached logically
wxASSERT(false);
wxFAIL;
return wxWEBVIEW_ZOOM_MEDIUM;
}
@@ -805,7 +805,7 @@ void wxWebViewWebKit::SetZoom(wxWebViewZoom zoom)
break;
default:
wxASSERT(false);
wxFAIL;
}
}