Index: xfa/fwl/basewidget/fwl_tooltipctrlimp.cpp |
diff --git a/xfa/fwl/basewidget/fwl_tooltipctrlimp.cpp b/xfa/fwl/basewidget/fwl_tooltipctrlimp.cpp |
index 2ce52c65a44cd74afad81d089c8ae5461a4f8410..0a8d343cef0b12b925f60c54c4827d279ed3632b 100644 |
--- a/xfa/fwl/basewidget/fwl_tooltipctrlimp.cpp |
+++ b/xfa/fwl/basewidget/fwl_tooltipctrlimp.cpp |
@@ -225,15 +225,17 @@ FWL_ERR CFWL_ToolTipImp::Hide() { |
} |
return TRUE; |
} |
-FWL_ERR CFWL_ToolTipImp::SetStates(uint32_t dwStates, FX_BOOL bSet) { |
+ |
+void CFWL_ToolTipImp::SetStates(uint32_t dwStates, FX_BOOL bSet) { |
if ((dwStates & FWL_WGTSTATE_Invisible) && !bSet) { |
IFWL_ToolTipDP* pData = |
static_cast<IFWL_ToolTipDP*>(m_pProperties->m_pDataProvider); |
int32_t nAutoPopDelay = pData->GetAutoPopDelay(m_pInterface); |
m_hTimerHide = FWL_StartTimer(&m_TimerHide, nAutoPopDelay, FALSE); |
} |
- return CFWL_WidgetImp::SetStates(dwStates, bSet); |
+ CFWL_WidgetImp::SetStates(dwStates, bSet); |
} |
+ |
void CFWL_ToolTipImp::RefreshToolTipPos() { |
if ((m_pProperties->m_dwStyleExes & FWL_STYLEEXT_TTP_NoAnchor) == 0) { |
CFX_RectF rtPopup; |