summaryrefslogtreecommitdiff
path: root/xfa/fwl/core/cfwl_evtscroll.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'xfa/fwl/core/cfwl_evtscroll.cpp')
-rw-r--r--xfa/fwl/core/cfwl_evtscroll.cpp7
1 files changed, 2 insertions, 5 deletions
diff --git a/xfa/fwl/core/cfwl_evtscroll.cpp b/xfa/fwl/core/cfwl_evtscroll.cpp
index 37e561017e..00ca57eb84 100644
--- a/xfa/fwl/core/cfwl_evtscroll.cpp
+++ b/xfa/fwl/core/cfwl_evtscroll.cpp
@@ -6,10 +6,7 @@
#include "xfa/fwl/core/cfwl_evtscroll.h"
-CFWL_EvtScroll::CFWL_EvtScroll() {}
+CFWL_EvtScroll::CFWL_EvtScroll(CFWL_Widget* pSrcTarget)
+ : CFWL_Event(CFWL_Event::Type::Scroll, pSrcTarget) {}
CFWL_EvtScroll::~CFWL_EvtScroll() {}
-
-CFWL_EventType CFWL_EvtScroll::GetClassID() const {
- return CFWL_EventType::Scroll;
-}