summaryrefslogtreecommitdiff
path: root/vcl/source/control/spinbtn.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'vcl/source/control/spinbtn.cxx')
-rw-r--r--vcl/source/control/spinbtn.cxx7
1 files changed, 0 insertions, 7 deletions
diff --git a/vcl/source/control/spinbtn.cxx b/vcl/source/control/spinbtn.cxx
index 6c738b5056ad..645aba468a36 100644
--- a/vcl/source/control/spinbtn.cxx
+++ b/vcl/source/control/spinbtn.cxx
@@ -193,7 +193,6 @@ void SpinButton::MouseButtonDown( const MouseEvent& rMEvt )
if ( mbUpperIn || mbLowerIn )
{
- Update();
CaptureMouse();
if ( mbRepeat )
maRepeatTimer.Start();
@@ -213,14 +212,12 @@ void SpinButton::MouseButtonUp( const MouseEvent& )
{
mbUpperIn = false;
Invalidate( maUpperRect );
- Update();
Up();
}
else if ( mbLowerIn )
{
mbLowerIn = false;
Invalidate( maLowerRect );
- Update();
Down();
}
@@ -238,7 +235,6 @@ void SpinButton::MouseMove( const MouseEvent& rMEvt )
mbUpperIn = false;
maRepeatTimer.Stop();
Invalidate( maUpperRect );
- Update();
}
else if ( !maLowerRect.IsInside( rMEvt.GetPosPixel() ) &&
mbLowerIn && mbInitialDown )
@@ -246,7 +242,6 @@ void SpinButton::MouseMove( const MouseEvent& rMEvt )
mbLowerIn = false;
maRepeatTimer.Stop();
Invalidate( maLowerRect );
- Update();
}
else if ( maUpperRect.IsInside( rMEvt.GetPosPixel() ) &&
!mbUpperIn && mbInitialUp )
@@ -255,7 +250,6 @@ void SpinButton::MouseMove( const MouseEvent& rMEvt )
if ( mbRepeat )
maRepeatTimer.Start();
Invalidate( maUpperRect );
- Update();
}
else if ( maLowerRect.IsInside( rMEvt.GetPosPixel() ) &&
!mbLowerIn && mbInitialDown )
@@ -264,7 +258,6 @@ void SpinButton::MouseMove( const MouseEvent& rMEvt )
if ( mbRepeat )
maRepeatTimer.Start();
Invalidate( maLowerRect );
- Update();
}
}