From 5f8d0baec1100f9f99d42157abc4f88ead999f6d Mon Sep 17 00:00:00 2001 From: Stephan Schäfer Date: Mon, 18 Nov 2002 16:13:43 +0000 Subject: #104827# send enable/disable input to this and not to the parent --- vcl/source/window/window.cxx | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/vcl/source/window/window.cxx b/vcl/source/window/window.cxx index 918f3f53d9b2..dea9540858e3 100644 --- a/vcl/source/window/window.cxx +++ b/vcl/source/window/window.cxx @@ -2,9 +2,9 @@ * * $RCSfile: window.cxx,v $ * - * $Revision: 1.153 $ + * $Revision: 1.154 $ * - * last change: $Author: ssa $ $Date: 2002-11-18 17:04:10 $ + * last change: $Author: ssa $ $Date: 2002-11-18 17:13:43 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -6253,10 +6253,10 @@ void Window::EnableInput( BOOL bEnable, BOOL bChild ) ImplGenerateMouseMove(); // #104827# notify parent - if ( bNotify && GetParent() ) + if ( bNotify ) { NotifyEvent aNEvt( bEnable ? EVENT_INPUTENABLE : EVENT_INPUTDISABLE, this ); - GetParent()->Notify( aNEvt ); + Notify( aNEvt ); } } -- cgit