It doesn't make sense to fail if modifiers parameter includes wxMOD_CONTROL
telling the caller to use wxMOD_CMD instead as the latter is exactly the same
as the former under non-Mac platforms.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@65515
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775
bool
wxUIActionSimulator::Key(int keycode, int modifiers, bool isDown)
{
- wxASSERT_MSG( !(modifiers & wxMOD_CONTROL),
- "wxMOD_CONTROL is not implemented, use wxMOD_CMD instead" );
wxASSERT_MSG( (modifiers & wxMOD_ALTGR) != wxMOD_ALTGR,
"wxMOD_ALTGR is not implemented" );
wxASSERT_MSG( !(modifiers & wxMOD_META ),