summaryrefslogtreecommitdiff
path: root/vcl/source/control/scrbar.cxx
diff options
context:
space:
mode:
authorMalte Timmermann <mt@openoffice.org>2001-10-25 11:40:17 +0000
committerMalte Timmermann <mt@openoffice.org>2001-10-25 11:40:17 +0000
commitc06fc54da72cdf77c83de5722e6954c36d3e3a2c (patch)
tree9fe5207f57839cd29278a3335e3bc609a7020e61 /vcl/source/control/scrbar.cxx
parent648a39361811fa552bea15cc08bc227262277371 (diff)
#92906# Call StartTracking before Select()
Diffstat (limited to 'vcl/source/control/scrbar.cxx')
-rw-r--r--vcl/source/control/scrbar.cxx9
1 files changed, 6 insertions, 3 deletions
diff --git a/vcl/source/control/scrbar.cxx b/vcl/source/control/scrbar.cxx
index 907b84575e71..d77663ba01b1 100644
--- a/vcl/source/control/scrbar.cxx
+++ b/vcl/source/control/scrbar.cxx
@@ -2,9 +2,9 @@
*
* $RCSfile: scrbar.cxx,v $
*
- * $Revision: 1.3 $
+ * $Revision: 1.4 $
*
- * last change: $Author: th $ $Date: 2001-07-25 11:40:26 $
+ * last change: $Author: mt $ $Date: 2001-10-25 12:40:17 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -771,8 +771,11 @@ void ScrollBar::MouseButtonDown( const MouseEvent& rMEvt )
{
// Startposition merken fuer Abbruch und EndScroll-Delta
mnStartPos = mnThumbPos;
- ImplDoMouseAction( rMousePos );
+ // #92906# Call StartTracking() before ImplDoMouseAction(), otherwise
+ // MouseButtonUp() / EndTracking() may be called if somebody is spending
+ // a lot of time in the scroll handler
StartTracking( nTrackFlags );
+ ImplDoMouseAction( rMousePos );
}
}
}