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.cxx10
1 files changed, 5 insertions, 5 deletions
diff --git a/vcl/source/control/spinbtn.cxx b/vcl/source/control/spinbtn.cxx
index 90e2676eda52..4e0689ecbfe1 100644
--- a/vcl/source/control/spinbtn.cxx
+++ b/vcl/source/control/spinbtn.cxx
@@ -443,18 +443,18 @@ bool SpinButton::PreNotify( NotifyEvent& rNEvt )
tools::Rectangle* pLastRect = ImplFindPartRect( GetLastPointerPosPixel() );
if (pRect != pLastRect || (pMouseEvt->IsLeaveWindow() || pMouseEvt->IsEnterWindow()))
{
- vcl::Region aRgn(GetActiveClipRegion());
+ vcl::Region aRgn(GetOutDev()->GetActiveClipRegion());
if (pLastRect)
{
- SetClipRegion(vcl::Region(*pLastRect));
+ GetOutDev()->SetClipRegion(vcl::Region(*pLastRect));
Invalidate(*pLastRect);
- SetClipRegion( aRgn );
+ GetOutDev()->SetClipRegion( aRgn );
}
if (pRect)
{
- SetClipRegion(vcl::Region(*pRect));
+ GetOutDev()->SetClipRegion(vcl::Region(*pRect));
Invalidate(*pRect);
- SetClipRegion(aRgn);
+ GetOutDev()->SetClipRegion(aRgn);
}
}
}