summaryrefslogtreecommitdiff
path: root/xfa/fwl/core/cfwl_spinbutton.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'xfa/fwl/core/cfwl_spinbutton.cpp')
-rw-r--r--xfa/fwl/core/cfwl_spinbutton.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/xfa/fwl/core/cfwl_spinbutton.cpp b/xfa/fwl/core/cfwl_spinbutton.cpp
index 8780fed1a9..03ec5afdf8 100644
--- a/xfa/fwl/core/cfwl_spinbutton.cpp
+++ b/xfa/fwl/core/cfwl_spinbutton.cpp
@@ -56,7 +56,7 @@ void CFWL_SpinButton::GetWidgetRect(CFX_RectF& rect, bool bAutoSize) {
}
rect.Set(0, 0, kMinWidth, kMinHeight);
- CFWL_Widget::GetWidgetRect(rect, true);
+ InflateWidgetRect(rect);
}
void CFWL_SpinButton::Update() {