diff options
author | Stephan Schäfer <ssa@openoffice.org> | 2002-11-18 16:13:43 +0000 |
---|---|---|
committer | Stephan Schäfer <ssa@openoffice.org> | 2002-11-18 16:13:43 +0000 |
commit | 5f8d0baec1100f9f99d42157abc4f88ead999f6d (patch) | |
tree | cf6a99b138bc10845e4a913f60278a6b98212a15 | |
parent | 55e797d79822be7440c1853cdccaeebfd4216ab6 (diff) |
#104827# send enable/disable input to this and not to the parent
-rw-r--r-- | vcl/source/window/window.cxx | 8 |
1 files 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 ); } } |