From 33f7e800d37a4fcda147de32632b723be5487406 Mon Sep 17 00:00:00 2001 From: Malte Timmermann Date: Wed, 20 Nov 2002 08:41:10 +0000 Subject: [PATCH] #100119# Get all resize events --- toolkit/source/awt/vclxwindow.cxx | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/toolkit/source/awt/vclxwindow.cxx b/toolkit/source/awt/vclxwindow.cxx index 5da9cb8a869b..c7f83c860cd4 100644 --- a/toolkit/source/awt/vclxwindow.cxx +++ b/toolkit/source/awt/vclxwindow.cxx @@ -2,9 +2,9 @@ * * $RCSfile: vclxwindow.cxx,v $ * - * $Revision: 1.31 $ + * $Revision: 1.32 $ * - * last change: $Author: tbe $ $Date: 2002-11-07 17:19:24 $ + * last change: $Author: mt $ $Date: 2002-11-20 09:41:10 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -705,6 +705,10 @@ void VCLXWindow::addWindowListener( const ::com::sun::star::uno::Reference< ::co ::vos::OGuard aGuard( GetMutex() ); GetWindowListeners().addInterface( rxListener ); + + // #100119# Get all resize events, even if height or width 0, or invisible + if ( GetWindow() ) + GetWindow()->EnableAllResize( TRUE ); } void VCLXWindow::removeWindowListener( const ::com::sun::star::uno::Reference< ::com::sun::star::awt::XWindowListener >& rxListener ) throw(::com::sun::star::uno::RuntimeException)