summaryrefslogtreecommitdiff
path: root/xfa/fwl/core/cfwl_msgkillfocus.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'xfa/fwl/core/cfwl_msgkillfocus.cpp')
-rw-r--r--xfa/fwl/core/cfwl_msgkillfocus.cpp11
1 files changed, 6 insertions, 5 deletions
diff --git a/xfa/fwl/core/cfwl_msgkillfocus.cpp b/xfa/fwl/core/cfwl_msgkillfocus.cpp
index 0c8ac47029..c7164850d1 100644
--- a/xfa/fwl/core/cfwl_msgkillfocus.cpp
+++ b/xfa/fwl/core/cfwl_msgkillfocus.cpp
@@ -10,14 +10,15 @@
#include "third_party/base/ptr_util.h"
-CFWL_MsgKillFocus::CFWL_MsgKillFocus() {}
+CFWL_MsgKillFocus::CFWL_MsgKillFocus(CFWL_Widget* pSrcTarget)
+ : CFWL_MsgKillFocus(pSrcTarget, nullptr) {}
+
+CFWL_MsgKillFocus::CFWL_MsgKillFocus(CFWL_Widget* pSrcTarget,
+ CFWL_Widget* pDstTarget)
+ : CFWL_Message(CFWL_Message::Type::KillFocus, pSrcTarget, pDstTarget) {}
CFWL_MsgKillFocus::~CFWL_MsgKillFocus() {}
std::unique_ptr<CFWL_Message> CFWL_MsgKillFocus::Clone() {
return pdfium::MakeUnique<CFWL_MsgKillFocus>(*this);
}
-
-CFWL_MessageType CFWL_MsgKillFocus::GetClassID() const {
- return CFWL_MessageType::KillFocus;
-}