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