Index: xfa/fxfa/app/xfa_ffcheckbutton.cpp |
diff --git a/xfa/fxfa/app/xfa_ffcheckbutton.cpp b/xfa/fxfa/app/xfa_ffcheckbutton.cpp |
index 9dfb12fa789a30186a4a0bc41617e7f9573c9420..9365ccf0a4dbf4ffc93b2d0770b4e0fe1b4ffebd 100644 |
--- a/xfa/fxfa/app/xfa_ffcheckbutton.cpp |
+++ b/xfa/fxfa/app/xfa_ffcheckbutton.cpp |
@@ -36,8 +36,8 @@ FX_BOOL CXFA_FFCheckButton::LoadWidget() { |
CFWL_NoteDriver* pNoteDriver = pWidget->GetOwnerApp()->GetNoteDriver(); |
pNoteDriver->RegisterEventTarget(pWidget, pWidget); |
- m_pOldDelegate = m_pNormalWidget->GetCurrentDelegate(); |
- m_pNormalWidget->SetCurrentDelegate(this); |
+ m_pOldDelegate = m_pNormalWidget->GetDelegate(); |
+ m_pNormalWidget->SetDelegate(this); |
if (m_pDataAcc->IsRadioButton()) |
pCheckBox->ModifyStylesEx(FWL_STYLEEXT_CKB_RadioButton, 0xFFFFFFFF); |