diff options
author | Stephan Schäfer <ssa@openoffice.org> | 2002-08-15 07:38:41 +0000 |
---|---|---|
committer | Stephan Schäfer <ssa@openoffice.org> | 2002-08-15 07:38:41 +0000 |
commit | 28ce835814454273bca43cde207e824f1e448d1c (patch) | |
tree | d6a083f291310cc28733b1bcb72bfd6419ca522d /toolkit/source | |
parent | 6928e20e0582d1faf10daae8e3d0c57cf5e69778 (diff) |
#102208# avoid assertion for accessibility menu events
Diffstat (limited to 'toolkit/source')
-rw-r--r-- | toolkit/source/awt/vclxmenu.cxx | 17 |
1 files changed, 15 insertions, 2 deletions
diff --git a/toolkit/source/awt/vclxmenu.cxx b/toolkit/source/awt/vclxmenu.cxx index 510c13c25f72..99f588408170 100644 --- a/toolkit/source/awt/vclxmenu.cxx +++ b/toolkit/source/awt/vclxmenu.cxx @@ -2,9 +2,9 @@ * * $RCSfile: vclxmenu.cxx,v $ * - * $Revision: 1.2 $ + * $Revision: 1.3 $ * - * last change: $Author: mt $ $Date: 2001-11-29 16:59:43 $ + * last change: $Author: ssa $ $Date: 2002-08-15 08:38:41 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -166,6 +166,19 @@ IMPL_LINK( VCLXMenu, MenuEventListener, VclSimpleEvent*, pEvent ) } } break; + + // ignore accessibility events + case VCLEVENT_MENU_ENABLE: + case VCLEVENT_MENU_INSERTITEM: + case VCLEVENT_MENU_REMOVEITEM: + case VCLEVENT_MENU_SUBMENUACTIVATE: + case VCLEVENT_MENU_SUBMENUDEACTIVATE: + case VCLEVENT_MENU_SUBMENUCHANGED: + case VCLEVENT_MENU_DEHIGHLIGHT: + case VCLEVENT_MENU_DISABLE: + case VCLEVENT_MENU_ITEMTEXTCHANGED: + break; + default: DBG_ERROR( "MenuEventListener - Unknown event!" ); } } |