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