diff options
author | dsinclair <dsinclair@chromium.org> | 2016-11-16 07:01:26 -0800 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2016-11-16 07:01:26 -0800 |
commit | 72f957a0bafaf7c9628980e404c471b54f42de8f (patch) | |
tree | 1b6764bfdb0f87c01843397f16f191906d6810ec /xfa/fwl/core/ifwl_checkbox.cpp | |
parent | f35650c8778522345d8a639f42add2874ffe44dd (diff) | |
download | pdfium-72f957a0bafaf7c9628980e404c471b54f42de8f.tar.xz |
Cleaning up nits in fwl/core files.chromium/2922
This Cl cleans up the nits in the first set of cfwl_* files. The unused Event
and Message classes are removed.
Review-Url: https://codereview.chromium.org/2505703003
Diffstat (limited to 'xfa/fwl/core/ifwl_checkbox.cpp')
-rw-r--r-- | xfa/fwl/core/ifwl_checkbox.cpp | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/xfa/fwl/core/ifwl_checkbox.cpp b/xfa/fwl/core/ifwl_checkbox.cpp index 76a377acbf..e309a35cd0 100644 --- a/xfa/fwl/core/ifwl_checkbox.cpp +++ b/xfa/fwl/core/ifwl_checkbox.cpp @@ -374,9 +374,6 @@ void IFWL_CheckBox::OnProcessMessage(CFWL_Message* pMessage) { return; switch (pMessage->GetClassID()) { - case CFWL_MessageType::Activate: - OnActivate(pMessage); - break; case CFWL_MessageType::SetFocus: OnFocusChanged(pMessage, true); break; @@ -421,11 +418,6 @@ void IFWL_CheckBox::OnDrawWidget(CFX_Graphics* pGraphics, DrawWidget(pGraphics, pMatrix); } -void IFWL_CheckBox::OnActivate(CFWL_Message* pMsg) { - m_pProperties->m_dwStates &= ~FWL_WGTSTATE_Deactivated; - Repaint(&(m_rtClient)); -} - void IFWL_CheckBox::OnFocusChanged(CFWL_Message* pMsg, bool bSet) { if (bSet) m_pProperties->m_dwStates |= FWL_WGTSTATE_Focused; |