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
This commit is contained in:
@@ -61,8 +61,6 @@ bool wxUIActionSimulator::MouseDragDrop(long x1, long y1, long x2, long y2,
|
|||||||
bool
|
bool
|
||||||
wxUIActionSimulator::Key(int keycode, int modifiers, bool isDown)
|
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 ),
|
wxASSERT_MSG( !(modifiers & wxMOD_META ),
|
||||||
"wxMOD_META is not implemented" );
|
"wxMOD_META is not implemented" );
|
||||||
wxASSERT_MSG( !(modifiers & wxMOD_WIN ),
|
wxASSERT_MSG( !(modifiers & wxMOD_WIN ),
|
||||||
|
Reference in New Issue
Block a user