diff options
author | Caolán McNamara <caolanm@redhat.com> | 2014-06-27 13:31:45 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2014-06-27 13:31:58 +0100 |
commit | 2b9ad2ef6bf904a8c2ec94e58644e8a7f7a36ae3 (patch) | |
tree | e83fb002ba0896ef9b58903c37b41f6d6666bed8 /vcl/source | |
parent | ab028bf00e3e5f8424ea5e746815e8438144e4bf (diff) |
do what I mean, not what I say
Change-Id: I1c86ff5713401771d6002de0a26bad4430d271fd
Diffstat (limited to 'vcl/source')
-rw-r--r-- | vcl/source/window/winproc.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/vcl/source/window/winproc.cxx b/vcl/source/window/winproc.cxx index e98f7ddc6a5c..c8094c41d5f0 100644 --- a/vcl/source/window/winproc.cxx +++ b/vcl/source/window/winproc.cxx @@ -1431,7 +1431,7 @@ static bool ImplHandleWheelEvent( Window* pWindow, const SalWheelMouseEvent& rEv pMouseWindow = pMouseWindow->GetParent(); } - if (acceptableWheelScrollTarget(pMouseWindow) && !pMouseWindow->IsInModalMode()) + if (acceptableWheelScrollTarget(pMouseWindow) && pMouseWindow->IsEnabled()) { // transform coordinates to float window frame coordinates Point aRelMousePos( pMouseWindow->OutputToScreenPixel( |