// Purpose: Declaration of wxMouseState class
// Author: Vadim Zeitlin
// Created: 2008-09-19 (extracted from wx/utils.h)
-// RCS-ID: $Id$
// Copyright: (c) 2008 Vadim Zeitlin <vadim@wxwidgets.org>
// Licence: wxWindows licence
///////////////////////////////////////////////////////////////////////////////
case wxMOUSE_BTN_NONE:
case wxMOUSE_BTN_MAX:
- wxFAIL_MSG(wxS("invalid parameter"));
- return false;
-
- default:
- wxFAIL_MSG(wxS("unknown parameter"));
- return false;
+ break;
}
+
+ wxFAIL_MSG(wxS("invalid parameter"));
+ return false;
}