diff options
Diffstat (limited to 'xfa/fwl/core/ifwl_edit.cpp')
-rw-r--r-- | xfa/fwl/core/ifwl_edit.cpp | 16 |
1 files changed, 0 insertions, 16 deletions
diff --git a/xfa/fwl/core/ifwl_edit.cpp b/xfa/fwl/core/ifwl_edit.cpp index 55ee785845..3e864baa28 100644 --- a/xfa/fwl/core/ifwl_edit.cpp +++ b/xfa/fwl/core/ifwl_edit.cpp @@ -1348,12 +1348,6 @@ void IFWL_Edit::OnProcessMessage(CFWL_Message* pMessage) { CFWL_MessageType dwMsgCode = pMessage->GetClassID(); switch (dwMsgCode) { - case CFWL_MessageType::Activate: - DoActivate(static_cast<CFWL_MsgActivate*>(pMessage)); - break; - case CFWL_MessageType::Deactivate: - DoDeactivate(static_cast<CFWL_MsgDeactivate*>(pMessage)); - break; case CFWL_MessageType::SetFocus: case CFWL_MessageType::KillFocus: OnFocusChanged(pMessage, dwMsgCode == CFWL_MessageType::SetFocus); @@ -1415,16 +1409,6 @@ void IFWL_Edit::OnDrawWidget(CFX_Graphics* pGraphics, DrawWidget(pGraphics, pMatrix); } -void IFWL_Edit::DoActivate(CFWL_MsgActivate* pMsg) { - m_pProperties->m_dwStates |= ~FWL_WGTSTATE_Deactivated; - Repaint(&m_rtClient); -} - -void IFWL_Edit::DoDeactivate(CFWL_MsgDeactivate* pMsg) { - m_pProperties->m_dwStates &= FWL_WGTSTATE_Deactivated; - Repaint(&m_rtClient); -} - void IFWL_Edit::DoButtonDown(CFWL_MsgMouse* pMsg) { if ((m_pProperties->m_dwStates & FWL_WGTSTATE_Focused) == 0) SetFocus(true); |