Index: xfa/fwl/core/ifwl_spinbutton.cpp |
diff --git a/xfa/fwl/core/ifwl_spinbutton.cpp b/xfa/fwl/core/ifwl_spinbutton.cpp |
index 716f56c6290c8884619dde128705b5841215c4d6..163b44b2ed6c36e46790f3882f0c0f23f03b56d2 100644 |
--- a/xfa/fwl/core/ifwl_spinbutton.cpp |
+++ b/xfa/fwl/core/ifwl_spinbutton.cpp |
@@ -110,13 +110,11 @@ void IFWL_SpinButton::DrawWidget(CFX_Graphics* pGraphics, |
DrawDownButton(pGraphics, pTheme, pMatrix); |
} |
-FWL_Error IFWL_SpinButton::EnableButton(bool bEnable, bool bUp) { |
+void IFWL_SpinButton::EnableButton(bool bEnable, bool bUp) { |
if (bUp) |
m_dwUpState = bEnable ? CFWL_PartState_Normal : CFWL_PartState_Disabled; |
else |
m_dwDnState = bEnable ? CFWL_PartState_Normal : CFWL_PartState_Disabled; |
- |
- return FWL_Error::Succeeded; |
} |
bool IFWL_SpinButton::IsButtonEnable(bool bUp) { |