| Index: xfa/fwl/core/cfwl_spinbutton.cpp
|
| diff --git a/xfa/fwl/core/cfwl_spinbutton.cpp b/xfa/fwl/core/cfwl_spinbutton.cpp
|
| index 71ed3b05d21f09f2320719436770eee59aa5a933..9c1dc557bd95f71a43402bcb00f62b9394cf2f1b 100644
|
| --- a/xfa/fwl/core/cfwl_spinbutton.cpp
|
| +++ b/xfa/fwl/core/cfwl_spinbutton.cpp
|
| @@ -10,7 +10,7 @@
|
| #include <utility>
|
|
|
| #include "third_party/base/ptr_util.h"
|
| -#include "xfa/fwl/core/cfwl_evtclick.h"
|
| +#include "xfa/fwl/core/cfwl_event.h"
|
| #include "xfa/fwl/core/cfwl_msgkey.h"
|
| #include "xfa/fwl/core/cfwl_msgmouse.h"
|
| #include "xfa/fwl/core/cfwl_notedriver.h"
|
| @@ -237,7 +237,7 @@ void CFWL_SpinButton::OnLButtonDown(CFWL_MsgMouse* pMsg) {
|
| m_dwDnState = CFWL_PartState_Pressed;
|
| }
|
|
|
| - CFWL_EvtClick wmPosChanged;
|
| + CFWL_Event wmPosChanged(CFWL_EventType::Click);
|
| wmPosChanged.m_pSrcTarget = this;
|
| DispatchEvent(&wmPosChanged);
|
|
|
| @@ -359,7 +359,7 @@ void CFWL_SpinButton::OnKeyDown(CFWL_MsgKey* pMsg) {
|
| if (!bUpEnable && !bDownEnable)
|
| return;
|
|
|
| - CFWL_EvtClick wmPosChanged;
|
| + CFWL_Event wmPosChanged(CFWL_EventType::Click);
|
| wmPosChanged.m_pSrcTarget = this;
|
| DispatchEvent(&wmPosChanged);
|
|
|
| @@ -375,7 +375,7 @@ void CFWL_SpinButton::Timer::Run(CFWL_TimerInfo* pTimerInfo) {
|
| if (!pButton->m_pTimerInfo)
|
| return;
|
|
|
| - CFWL_EvtClick wmPosChanged;
|
| + CFWL_Event wmPosChanged(CFWL_EventType::Click);
|
| wmPosChanged.m_pSrcTarget = pButton;
|
| pButton->DispatchEvent(&wmPosChanged);
|
| }
|
|
|