From c62cbe89708cc26d0f86bd424122e3969387494d Mon Sep 17 00:00:00 2001 From: Vadim Zeitlin Date: Fri, 19 Dec 2014 15:56:46 +0000 Subject: [PATCH] Remove assert about unsupported wxMOD_ALTGR in wxUIActionSimulator. wxMOD_ALTGR is wxMOD_ALT + wxMOD_CONTROL and so is, actually, supported as simulating it involves only simulating both Alt and Control being pressed, at least under MSW. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@78283 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- src/common/uiactioncmn.cpp | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/common/uiactioncmn.cpp b/src/common/uiactioncmn.cpp index 04fb4477cf..d7c57b78f6 100644 --- a/src/common/uiactioncmn.cpp +++ b/src/common/uiactioncmn.cpp @@ -61,8 +61,6 @@ bool wxUIActionSimulator::MouseDragDrop(long x1, long y1, long x2, long y2, bool wxUIActionSimulator::Key(int keycode, int modifiers, bool isDown) { - wxASSERT_MSG( (modifiers & wxMOD_ALTGR) != wxMOD_ALTGR, - "wxMOD_ALTGR is not implemented" ); wxASSERT_MSG( !(modifiers & wxMOD_META ), "wxMOD_META is not implemented" ); wxASSERT_MSG( !(modifiers & wxMOD_WIN ),