Index: xfa/fwl/basewidget/fwl_checkboximp.cpp |
diff --git a/xfa/fwl/basewidget/fwl_checkboximp.cpp b/xfa/fwl/basewidget/fwl_checkboximp.cpp |
index 574da160ee388c1a523175ff56bb247ece937e22..0c5e3aac32c5edb3df13c7bb1d93546e691fc879 100644 |
--- a/xfa/fwl/basewidget/fwl_checkboximp.cpp |
+++ b/xfa/fwl/basewidget/fwl_checkboximp.cpp |
@@ -369,7 +369,7 @@ void CFWL_CheckBoxImp::NextStates() { |
if ((m_pProperties->m_dwStates & FWL_STATE_CKB_CheckMask) == |
FWL_STATE_CKB_Unchecked) { |
CFWL_WidgetMgr* pWidgetMgr = |
- static_cast<CFWL_WidgetMgr*>(FWL_GetWidgetMgr()); |
+ static_cast<CFWL_WidgetMgr*>(IFWL_WidgetMgr::GetInstance()); |
if (!pWidgetMgr->IsFormDisabled()) { |
CFX_ArrayTemplate<IFWL_Widget*> radioarr; |
pWidgetMgr->GetSameGroupRadioButton(m_pInterface, radioarr); |