Index: xfa/fwl/core/fwl_noteimp.cpp |
diff --git a/xfa/fwl/core/fwl_noteimp.cpp b/xfa/fwl/core/fwl_noteimp.cpp |
index 39afa783c0326420409f982e286c8f47a36dfb45..8120032f34b1a191c8f3947fc216d62e5c65d30c 100644 |
--- a/xfa/fwl/core/fwl_noteimp.cpp |
+++ b/xfa/fwl/core/fwl_noteimp.cpp |
@@ -470,7 +470,8 @@ FX_BOOL CFWL_NoteDriver::DoDeactivate(CFWL_MsgDeactivate* pMsg, |
pMsg->m_pSrcTarget->IsInstance(FX_WSTRC(L"FWL_FORMPROXY"))) { |
return FALSE; |
} |
- if (pMsg->m_pSrcTarget && pMsg->m_pSrcTarget->GetClassID() == 1111984755) { |
+ if (pMsg->m_pSrcTarget && |
+ pMsg->m_pSrcTarget->GetClassID() == FWL_Type::ToolTip) { |
return FALSE; |
} |
return TRUE; |
@@ -660,10 +661,10 @@ void CFWL_NoteDriver::MouseSecondary(CFWL_MsgMouse* pMsg) { |
pTarget->TransformTo(m_pHover, msLeave.m_fx, msLeave.m_fy); |
msLeave.m_dwFlags = 0; |
msLeave.m_dwCmd = FWL_MSGMOUSECMD_MouseLeave; |
- DispatchMessage(&msLeave, NULL); |
+ DispatchMessage(&msLeave, nullptr); |
} |
- if (pTarget->GetClassID() == FWL_CLASSHASH_Form) { |
- m_pHover = NULL; |
+ if (pTarget->GetClassID() == FWL_Type::Form) { |
+ m_pHover = nullptr; |
return; |
} |
m_pHover = pTarget; |
@@ -673,7 +674,7 @@ void CFWL_NoteDriver::MouseSecondary(CFWL_MsgMouse* pMsg) { |
msHover.m_fy = pMsg->m_fy; |
msHover.m_dwFlags = 0; |
msHover.m_dwCmd = FWL_MSGMOUSECMD_MouseHover; |
- DispatchMessage(&msHover, NULL); |
+ DispatchMessage(&msHover, nullptr); |
} |
FX_BOOL CFWL_NoteDriver::IsValidMessage(CFWL_Message* pMessage) { |
if (pMessage->GetClassID() == CFWL_MessageType::Post) |