summaryrefslogtreecommitdiff
path: root/xfa/fwl/core/cfwl_msgkey.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'xfa/fwl/core/cfwl_msgkey.cpp')
-rw-r--r--xfa/fwl/core/cfwl_msgkey.cpp7
1 files changed, 2 insertions, 5 deletions
diff --git a/xfa/fwl/core/cfwl_msgkey.cpp b/xfa/fwl/core/cfwl_msgkey.cpp
index 7d839f7203..3eda29ab49 100644
--- a/xfa/fwl/core/cfwl_msgkey.cpp
+++ b/xfa/fwl/core/cfwl_msgkey.cpp
@@ -10,14 +10,11 @@
#include "third_party/base/ptr_util.h"
-CFWL_MsgKey::CFWL_MsgKey() {}
+CFWL_MsgKey::CFWL_MsgKey(CFWL_Widget* pSrcTarget, CFWL_Widget* pDstTarget)
+ : CFWL_Message(CFWL_Message::Type::Key, pSrcTarget, pDstTarget) {}
CFWL_MsgKey::~CFWL_MsgKey() {}
std::unique_ptr<CFWL_Message> CFWL_MsgKey::Clone() {
return pdfium::MakeUnique<CFWL_MsgKey>(*this);
}
-
-CFWL_MessageType CFWL_MsgKey::GetClassID() const {
- return CFWL_MessageType::Key;
-}