diff options
author | Thomas Benisch <tbe@openoffice.org> | 2002-12-12 17:04:56 +0000 |
---|---|---|
committer | Thomas Benisch <tbe@openoffice.org> | 2002-12-12 17:04:56 +0000 |
commit | 9001e3ecc746b0e110443fb49589432e13bbea01 (patch) | |
tree | 70632aa00115c711f9d73cb82d94e888844d9438 /vcl/source/window | |
parent | b8d3483c5091b03f2c2bc9f0c7bfe46eeedaea93 (diff) |
#105535# removed notification for setting new menu at MenuBarWindow
Diffstat (limited to 'vcl/source/window')
-rw-r--r-- | vcl/source/window/menu.cxx | 20 |
1 files changed, 2 insertions, 18 deletions
diff --git a/vcl/source/window/menu.cxx b/vcl/source/window/menu.cxx index 1280ebda69c8..a164a6cde4af 100644 --- a/vcl/source/window/menu.cxx +++ b/vcl/source/window/menu.cxx @@ -2,9 +2,9 @@ * * $RCSfile: menu.cxx,v $ * - * $Revision: 1.88 $ + * $Revision: 1.89 $ * - * last change: $Author: ssa $ $Date: 2002-12-10 16:22:15 $ + * last change: $Author: tbe $ $Date: 2002-12-12 18:04:56 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -4114,22 +4114,6 @@ void MenuBarWindow::SetMenu( MenuBar* pMen ) aHideBtn.Show( pMen->HasHideButton() ); } Invalidate(); - - // TODO: send CREATE/DESTROY instead of VCLEVENT_WINDOW_HIDE/VCLEVENT_WINDOW_SHOW when available again - if ( Application::GetSettings().GetMiscSettings().GetEnableATToolSupport() ) - { - // access bridge must be notified about the removal of the old accessible menu context by an ACCESSIBLE_CHILD_EVENT - ImplCallEventListeners( VCLEVENT_WINDOW_HIDE, this ); - - // notify listeners, that a new menubar was set - ImplCallEventListeners( VCLEVENT_WINDOW_MENUBAR, (void*) pMen ); - - // free the reference to the accessible component - SetAccessible( ::com::sun::star::uno::Reference< ::drafts::com::sun::star::accessibility::XAccessible >() ); - - // access bridge must be notified about the addition of the new accessible menu context by an ACCESSIBLE_CHILD_EVENT - ImplCallEventListeners( VCLEVENT_WINDOW_SHOW, this ); - } } void MenuBarWindow::ShowButtons( BOOL bClose, BOOL bFloat, BOOL bHide ) |