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 a912108278..46d9876433 100644 --- a/xfa/fwl/cfwl_pushbutton.cpp +++ b/xfa/fwl/cfwl_pushbutton.cpp @@ -151,9 +151,6 @@ void CFWL_PushButton::OnFocusChanged(CFWL_Message* pMsg, bool bSet) { } void CFWL_PushButton::OnLButtonDown(CFWL_MessageMouse* pMsg) { - if ((m_pProperties->m_dwStates & FWL_WGTSTATE_Focused) == 0) - SetFocus(true); - m_bBtnDown = true; m_pProperties->m_dwStates |= FWL_STATE_PSB_Hovered; m_pProperties->m_dwStates |= FWL_STATE_PSB_Pressed; |