Index: xfa/fwl/core/cfwl_event.cpp |
diff --git a/xfa/fwl/core/cfwl_event.cpp b/xfa/fwl/core/cfwl_event.cpp |
index 06b734531fab7c18d6a2f17f92ece2c3165e3aea..d598f6974abbc3c7580471c0e841ac2133c88d75 100644 |
--- a/xfa/fwl/core/cfwl_event.cpp |
+++ b/xfa/fwl/core/cfwl_event.cpp |
@@ -6,10 +6,15 @@ |
#include "xfa/fwl/core/cfwl_event.h" |
-CFWL_Event::CFWL_Event() : m_pSrcTarget(nullptr), m_pDstTarget(nullptr) {} |
+CFWL_Event::CFWL_Event(CFWL_Event::Type type) |
+ : CFWL_Event(type, nullptr, nullptr) {} |
-CFWL_Event::~CFWL_Event() {} |
+CFWL_Event::CFWL_Event(Type type, CFWL_Widget* pSrcTarget) |
+ : CFWL_Event(type, pSrcTarget, nullptr) {} |
+ |
+CFWL_Event::CFWL_Event(Type type, |
+ CFWL_Widget* pSrcTarget, |
+ CFWL_Widget* pDstTarget) |
+ : m_pSrcTarget(pSrcTarget), m_pDstTarget(pDstTarget), m_type(type) {} |
-CFWL_EventType CFWL_Event::GetClassID() const { |
- return CFWL_EventType::None; |
-} |
+CFWL_Event::~CFWL_Event() {} |