summaryrefslogtreecommitdiff
path: root/xfa/fwl/core/cfwl_msgsetfocus.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'xfa/fwl/core/cfwl_msgsetfocus.cpp')
-rw-r--r--xfa/fwl/core/cfwl_msgsetfocus.cpp8
1 files changed, 3 insertions, 5 deletions
diff --git a/xfa/fwl/core/cfwl_msgsetfocus.cpp b/xfa/fwl/core/cfwl_msgsetfocus.cpp
index 0463da1c6c..82e9610b15 100644
--- a/xfa/fwl/core/cfwl_msgsetfocus.cpp
+++ b/xfa/fwl/core/cfwl_msgsetfocus.cpp
@@ -10,14 +10,12 @@
#include "third_party/base/ptr_util.h"
-CFWL_MsgSetFocus::CFWL_MsgSetFocus() {}
+CFWL_MsgSetFocus::CFWL_MsgSetFocus(CFWL_Widget* pSrcTarget,
+ CFWL_Widget* pDstTarget)
+ : CFWL_Message(CFWL_Message::Type::SetFocus, pSrcTarget, pDstTarget) {}
CFWL_MsgSetFocus::~CFWL_MsgSetFocus() {}
std::unique_ptr<CFWL_Message> CFWL_MsgSetFocus::Clone() {
return pdfium::MakeUnique<CFWL_MsgSetFocus>(*this);
}
-
-CFWL_MessageType CFWL_MsgSetFocus::GetClassID() const {
- return CFWL_MessageType::SetFocus;
-}