diff options
Diffstat (limited to 'xfa/fwl/cfwl_widgetmgr.cpp')
-rw-r--r-- | xfa/fwl/cfwl_widgetmgr.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/xfa/fwl/cfwl_widgetmgr.cpp b/xfa/fwl/cfwl_widgetmgr.cpp index f19479e72b..adbc895cff 100644 --- a/xfa/fwl/cfwl_widgetmgr.cpp +++ b/xfa/fwl/cfwl_widgetmgr.cpp @@ -358,10 +358,11 @@ void CFWL_WidgetMgr::GetAdapterPopupPos(CFWL_Widget* pWidget, void CFWL_WidgetMgr::OnProcessMessageToForm(CFWL_Message* pMessage) { if (!pMessage) return; - if (!pMessage->m_pDstTarget) + + CFWL_Widget* pDstWidget = pMessage->GetDstTarget(); + if (!pDstWidget) return; - CFWL_Widget* pDstWidget = pMessage->m_pDstTarget; const CFWL_App* pApp = pDstWidget->GetOwnerApp(); if (!pApp) return; |