summaryrefslogtreecommitdiff
path: root/xfa/fwl/core/cfwl_evtmouse.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'xfa/fwl/core/cfwl_evtmouse.cpp')
-rw-r--r--xfa/fwl/core/cfwl_evtmouse.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/xfa/fwl/core/cfwl_evtmouse.cpp b/xfa/fwl/core/cfwl_evtmouse.cpp
index c85172b738..8bfce8a9c5 100644
--- a/xfa/fwl/core/cfwl_evtmouse.cpp
+++ b/xfa/fwl/core/cfwl_evtmouse.cpp
@@ -6,10 +6,10 @@
#include "xfa/fwl/core/cfwl_evtmouse.h"
-CFWL_EvtMouse::CFWL_EvtMouse() {}
+CFWL_EvtMouse::CFWL_EvtMouse(CFWL_Widget* pSrcTarget)
+ : CFWL_EvtMouse(pSrcTarget, nullptr) {}
-CFWL_EvtMouse::~CFWL_EvtMouse() {}
+CFWL_EvtMouse::CFWL_EvtMouse(CFWL_Widget* pSrcTarget, CFWL_Widget* pDstTarget)
+ : CFWL_Event(CFWL_Event::Type::Mouse, pSrcTarget, pDstTarget) {}
-CFWL_EventType CFWL_EvtMouse::GetClassID() const {
- return CFWL_EventType::Mouse;
-}
+CFWL_EvtMouse::~CFWL_EvtMouse() {}