Index: xfa/fwl/core/cfwl_message.cpp |
diff --git a/xfa/fwl/core/cfwl_message.cpp b/xfa/fwl/core/cfwl_message.cpp |
index e233900d6ecf808e5d8c3e3a9e9f746538e4e8e5..b20cf0e6a1498d84f9dd61df01a41e139fcfb8b7 100644 |
--- a/xfa/fwl/core/cfwl_message.cpp |
+++ b/xfa/fwl/core/cfwl_message.cpp |
@@ -6,15 +6,22 @@ |
#include "xfa/fwl/core/cfwl_message.h" |
-CFWL_Message::CFWL_Message() |
- : m_pSrcTarget(nullptr), m_pDstTarget(nullptr), m_dwExtend(0) {} |
+CFWL_Message::CFWL_Message(CFWL_Message::Type type) |
+ : CFWL_Message(type, nullptr, nullptr) {} |
+ |
+CFWL_Message::CFWL_Message(Type type, CFWL_Widget* pSrcTarget) |
+ : CFWL_Message(type, pSrcTarget, nullptr) {} |
+ |
+CFWL_Message::CFWL_Message(Type type, |
+ CFWL_Widget* pSrcTarget, |
+ CFWL_Widget* pDstTarget) |
+ : m_pSrcTarget(pSrcTarget), |
+ m_pDstTarget(pDstTarget), |
+ m_dwExtend(0), |
+ m_type(type) {} |
CFWL_Message::~CFWL_Message() {} |
std::unique_ptr<CFWL_Message> CFWL_Message::Clone() { |
return nullptr; |
} |
- |
-CFWL_MessageType CFWL_Message::GetClassID() const { |
- return CFWL_MessageType::None; |
-} |