diff options
author | Stephan Schäfer <ssa@openoffice.org> | 2002-11-18 11:58:58 +0000 |
---|---|---|
committer | Stephan Schäfer <ssa@openoffice.org> | 2002-11-18 11:58:58 +0000 |
commit | d560d0571c16e357f122819d06a80f087747e0b0 (patch) | |
tree | 9c2b756a4b4a5fc20af9e9d8432249b8bed25c60 | |
parent | c68bda11704798509450c83b7486a6ba8cfba1c1 (diff) |
#95056# invalidate menu background when closing menu
-rw-r--r-- | vcl/source/window/menu.cxx | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/vcl/source/window/menu.cxx b/vcl/source/window/menu.cxx index b3ae9b8803a2..383745ceab93 100644 --- a/vcl/source/window/menu.cxx +++ b/vcl/source/window/menu.cxx @@ -2,9 +2,9 @@ * * $RCSfile: menu.cxx,v $ * - * $Revision: 1.81 $ + * $Revision: 1.82 $ * - * last change: $Author: ssa $ $Date: 2002-11-13 13:21:50 $ + * last change: $Author: ssa $ $Date: 2002-11-18 12:58:58 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -2948,6 +2948,11 @@ MenuFloatingWindow::~MenuFloatingWindow() Application::AccessNotify( AccessNotification( ACCESS_EVENT_POPUPMENU_END, pMenu ) ); aHighlightChangedTimer.Stop(); + + // #95056# invalidate screen area covered by system window + // so this can be taken into account if the commandhandler performs a scroll operation + Rectangle aInvRect( GetWindowExtentsRelative( GetParent() ) ); + GetParent()->Invalidate( aInvRect ); } void MenuFloatingWindow::Resize() |