Index: xfa/fwl/core/cfwl_pushbutton.cpp |
diff --git a/xfa/fwl/core/cfwl_pushbutton.cpp b/xfa/fwl/core/cfwl_pushbutton.cpp |
index 9e1e693ff0a87701c9b49498ef00e315037df819..a2f9b5f1cf99e63c1e24470e72aaabed9f8a7275 100644 |
--- a/xfa/fwl/core/cfwl_pushbutton.cpp |
+++ b/xfa/fwl/core/cfwl_pushbutton.cpp |
@@ -48,7 +48,7 @@ void CFWL_PushButton::GetWidgetRect(CFX_RectF& rect, bool bAutoSize) { |
FX_FLOAT* fcaption = |
static_cast<FX_FLOAT*>(GetThemeCapacity(CFWL_WidgetCapacity::Margin)); |
rect.Inflate(*fcaption, *fcaption); |
- CFWL_Widget::GetWidgetRect(rect, true); |
+ InflateWidgetRect(rect); |
} |
void CFWL_PushButton::SetStates(uint32_t dwStates) { |