diff options
author | Malte Timmermann <mt@openoffice.org> | 2002-11-20 08:41:10 +0000 |
---|---|---|
committer | Malte Timmermann <mt@openoffice.org> | 2002-11-20 08:41:10 +0000 |
commit | 33f7e800d37a4fcda147de32632b723be5487406 (patch) | |
tree | 3e770b7347eea125559fc9b55459165c3a218f9c /toolkit | |
parent | d67c16ffd6b7c616d5d116968552d52b4046e475 (diff) |
#100119# Get all resize events
Diffstat (limited to 'toolkit')
-rw-r--r-- | toolkit/source/awt/vclxwindow.cxx | 8 |
1 files 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) |