Index: xfa/fwl/basewidget/fwl_editimp.cpp |
diff --git a/xfa/fwl/basewidget/fwl_editimp.cpp b/xfa/fwl/basewidget/fwl_editimp.cpp |
index 423d0b5c28d083e938f9246ef0c097dd9c59ffed..5975062902852514f876b9b4746c79a766a84412 100644 |
--- a/xfa/fwl/basewidget/fwl_editimp.cpp |
+++ b/xfa/fwl/basewidget/fwl_editimp.cpp |
@@ -1013,8 +1013,7 @@ void CFWL_EditImp::DrawContent(CFX_Graphics* pGraphics, |
(m_pProperties->m_dwStyleExes & FWL_STYLEEXT_EDT_NoHideSel) || |
(m_pProperties->m_dwStates & FWL_WGTSTATE_Focused); |
if (bShowSel) { |
- IFWL_Widget* pForm = |
- m_pWidgetMgr->GetWidget(m_pInterface, FWL_WGTRELATION_SystemForm); |
+ IFWL_Widget* pForm = m_pWidgetMgr->GetSystemFormWidget(m_pInterface); |
if (pForm) { |
bShowSel = (pForm->GetStates() & FWL_WGTSTATE_Deactivated) != |
FWL_WGTSTATE_Deactivated; |