]> git.saurik.com Git - wxWidgets.git/commit - include/wx/mousestate.h
Fix harmless Clang warning about unreachable code.
authorVadim Zeitlin <vadim@wxwidgets.org>
Sun, 12 May 2013 23:04:08 +0000 (23:04 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Sun, 12 May 2013 23:04:08 +0000 (23:04 +0000)
commitdc8cd788c068143657b9b5e784ac62a3e50b99d6
tree3243e6c267279aa534ce8ce4e2e1f3c346499893
parent60dbc04c461334f22c189fff24c16451e7cae7a5
Fix harmless Clang warning about unreachable code.

Unfortunately Clang intelligent flow analysis prevents us from using different
asserts for invalid parameter value and unhandled one, which could happen if
more elements are added to wxMouseButton enum in the future.

Closes #15201.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@73972 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
include/wx/mousestate.h