diff options
Diffstat (limited to '')
-rw-r--r-- | linden/indra/llui/llsliderctrl.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/linden/indra/llui/llsliderctrl.cpp b/linden/indra/llui/llsliderctrl.cpp index c62ec9a..9a67bca 100644 --- a/linden/indra/llui/llsliderctrl.cpp +++ b/linden/indra/llui/llsliderctrl.cpp | |||
@@ -4,6 +4,7 @@ | |||
4 | * | 4 | * |
5 | * Copyright (c) 2002-2007, Linden Research, Inc. | 5 | * Copyright (c) 2002-2007, Linden Research, Inc. |
6 | * | 6 | * |
7 | * Second Life Viewer Source Code | ||
7 | * The source code in this file ("Source Code") is provided by Linden Lab | 8 | * The source code in this file ("Source Code") is provided by Linden Lab |
8 | * to you under the terms of the GNU General Public License, version 2.0 | 9 | * to you under the terms of the GNU General Public License, version 2.0 |
9 | * ("GPL"), unless you have obtained a separate licensing agreement | 10 | * ("GPL"), unless you have obtained a separate licensing agreement |
@@ -205,7 +206,7 @@ void LLSliderCtrl::clear() | |||
205 | 206 | ||
206 | BOOL LLSliderCtrl::isMouseHeldDown() | 207 | BOOL LLSliderCtrl::isMouseHeldDown() |
207 | { | 208 | { |
208 | return gFocusMgr.getMouseCapture() == mSlider; | 209 | return mSlider->hasMouseCapture(); |
209 | } | 210 | } |
210 | 211 | ||
211 | void LLSliderCtrl::updateText() | 212 | void LLSliderCtrl::updateText() |
@@ -319,7 +320,7 @@ void LLSliderCtrl::onSliderCommit( LLUICtrl* caller, void *userdata ) | |||
319 | 320 | ||
320 | void LLSliderCtrl::setEnabled(BOOL b) | 321 | void LLSliderCtrl::setEnabled(BOOL b) |
321 | { | 322 | { |
322 | LLUICtrl::setEnabled( b ); | 323 | LLView::setEnabled( b ); |
323 | 324 | ||
324 | if( mLabelBox ) | 325 | if( mLabelBox ) |
325 | { | 326 | { |