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.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/vcl/source/control/spinbtn.cxx b/vcl/source/control/spinbtn.cxx
index 4a7da9bead2a..4689ee84e7e8 100644
--- a/vcl/source/control/spinbtn.cxx
+++ b/vcl/source/control/spinbtn.cxx
@@ -458,13 +458,13 @@ bool SpinButton::PreNotify( NotifyEvent& rNEvt )
if( pLastRect )
{
SetClipRegion(vcl::Region(*pLastRect));
- Paint( *pLastRect );
+ Invalidate(*pLastRect);
SetClipRegion( aRgn );
}
if( pRect )
{
SetClipRegion(vcl::Region(*pRect));
- Paint( *pRect );
+ Invalidate(*pRect);
SetClipRegion( aRgn );
}
}