diff options
author | Oliver Braun <obr@openoffice.org> | 2001-10-09 14:43:46 +0000 |
---|---|---|
committer | Oliver Braun <obr@openoffice.org> | 2001-10-09 14:43:46 +0000 |
commit | b2102786d1974a50375b6fabea0c68c8be15b445 (patch) | |
tree | 745fe526f5837c7376713948c9d6525f6150f145 /vcl/source/window/dndevdis.cxx | |
parent | debc3e716ea8a4b96ce591a8828a9d36ff756d19 (diff) |
#92876# only dispatch dnd events when input is enabled
Diffstat (limited to 'vcl/source/window/dndevdis.cxx')
-rw-r--r-- | vcl/source/window/dndevdis.cxx | 14 |
1 files changed, 7 insertions, 7 deletions
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() ); |