diff options
Diffstat (limited to 'include/vcl/scrbar.hxx')
-rw-r--r-- | include/vcl/scrbar.hxx | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/include/vcl/scrbar.hxx b/include/vcl/scrbar.hxx index b4fa3e79c326..81e4d508adf9 100644 --- a/include/vcl/scrbar.hxx +++ b/include/vcl/scrbar.hxx @@ -107,8 +107,7 @@ public: long DoScroll( long nNewPos ); long DoScrollAction( ScrollType eScrollType ); - void EnableDrag( bool bEnable = true ) - { mbFullDrag = bEnable; } + void EnableDrag() { mbFullDrag = true; } void SetRangeMin( long nNewRange ); long GetRangeMin() const { return mnMinRange; } |