From b2102786d1974a50375b6fabea0c68c8be15b445 Mon Sep 17 00:00:00 2001 From: Oliver Braun Date: Tue, 9 Oct 2001 14:43:46 +0000 Subject: #92876# only dispatch dnd events when input is enabled --- vcl/source/window/dndevdis.cxx | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'vcl/source/window/dndevdis.cxx') diff --git a/vcl/source/window/dndevdis.cxx b/vcl/source/window/dndevdis.cxx index 46f02de6d1ce..cb952377bc7c 100644 --- a/vcl/source/window/dndevdis.cxx +++ b/vcl/source/window/dndevdis.cxx @@ -2,9 +2,9 @@ * * $RCSfile: dndevdis.cxx,v $ * - * $Revision: 1.7 $ + * $Revision: 1.8 $ * - * last change: $Author: obr $ $Date: 2001-09-24 08:45:08 $ + * last change: $Author: obr $ $Date: 2001-10-09 15:43:46 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -335,7 +335,7 @@ sal_Int32 DNDEventDispatcher::fireDragEnterEvent( Window *pWindow, { sal_Int32 n = 0; - if( pWindow ) + if( pWindow && pWindow->IsInputEnabled() ) { OClearableGuard aGuard( Application::GetSolarMutex() ); @@ -371,7 +371,7 @@ sal_Int32 DNDEventDispatcher::fireDragOverEvent( Window *pWindow, { sal_Int32 n = 0; - if( pWindow ) + if( pWindow && pWindow->IsInputEnabled() ) { OClearableGuard aGuard( Application::GetSolarMutex() ); @@ -400,7 +400,7 @@ sal_Int32 DNDEventDispatcher::fireDragExitEvent( Window *pWindow ) throw(Runtime { sal_Int32 n = 0; - if( pWindow ) + if( pWindow && pWindow->IsInputEnabled() ) { OClearableGuard aGuard( Application::GetSolarMutex() ); @@ -431,7 +431,7 @@ sal_Int32 DNDEventDispatcher::fireDropActionChangedEvent( Window *pWindow, { sal_Int32 n = 0; - if( pWindow ) + if( pWindow && pWindow->IsInputEnabled() ) { OClearableGuard aGuard( Application::GetSolarMutex() ); @@ -464,7 +464,7 @@ sal_Int32 DNDEventDispatcher::fireDropEvent( Window *pWindow, { sal_Int32 n = 0; - if( pWindow ) + if( pWindow && pWindow->IsInputEnabled() ) { OClearableGuard aGuard( Application::GetSolarMutex() ); -- cgit