diff options
Diffstat (limited to 'xfa/fwl/cfwl_pushbutton.cpp')
-rw-r--r-- | xfa/fwl/cfwl_pushbutton.cpp | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/xfa/fwl/cfwl_pushbutton.cpp b/xfa/fwl/cfwl_pushbutton.cpp index 05f8d256c8..3f0be45d10 100644 --- a/xfa/fwl/cfwl_pushbutton.cpp +++ b/xfa/fwl/cfwl_pushbutton.cpp @@ -52,9 +52,6 @@ void CFWL_PushButton::Update() { UpdateTextOutStyles(); m_rtClient = GetClientRect(); m_rtCaption = m_rtClient; - FX_FLOAT* fcaption = - static_cast<FX_FLOAT*>(GetThemeCapacity(CFWL_WidgetCapacity::Margin)); - m_rtCaption.Inflate(-*fcaption, -*fcaption); } void CFWL_PushButton::DrawWidget(CFX_Graphics* pGraphics, |