diff options
Diffstat (limited to 'vcl/source/control/spinfld.cxx')
-rw-r--r-- | vcl/source/control/spinfld.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/vcl/source/control/spinfld.cxx b/vcl/source/control/spinfld.cxx index 2d91b22201da..175c0828a540 100644 --- a/vcl/source/control/spinfld.cxx +++ b/vcl/source/control/spinfld.cxx @@ -952,16 +952,16 @@ IMPL_LINK( SpinField, ImplTimeout, Timer*, pTimer, void ) } } -void SpinField::Draw(OutputDevice* pDev, const Point& rPos, const Size& rSize, DrawFlags nFlags) +void SpinField::Draw(OutputDevice* pDev, const Point& rPos, DrawFlags nFlags) { - Edit::Draw(pDev, rPos, rSize, nFlags); + Edit::Draw(pDev, rPos, nFlags); WinBits nFieldStyle = GetStyle(); if ( (nFlags & DrawFlags::NoControls ) || !( nFieldStyle & (WB_SPIN|WB_DROPDOWN) ) ) return; Point aPos = pDev->LogicToPixel( rPos ); - Size aSize = pDev->LogicToPixel( rSize ); + Size aSize = GetSizePixel(); AllSettings aOldSettings = pDev->GetSettings(); pDev->Push(); |