Index: xfa/fxfa/app/xfa_ffpushbutton.cpp |
diff --git a/xfa/fxfa/app/xfa_ffpushbutton.cpp b/xfa/fxfa/app/xfa_ffpushbutton.cpp |
index e64858101117f21861ad3e2a87218a3867398825..2439eae78f9a9b78ef9a2de1bcacc7fc3b5451fb 100644 |
--- a/xfa/fxfa/app/xfa_ffpushbutton.cpp |
+++ b/xfa/fxfa/app/xfa_ffpushbutton.cpp |
@@ -55,8 +55,8 @@ FX_BOOL CXFA_FFPushButton::LoadWidget() { |
CFWL_PushButton* pPushButton = new CFWL_PushButton(GetFWLApp()); |
pPushButton->Initialize(); |
- m_pOldDelegate = pPushButton->GetCurrentDelegate(); |
- pPushButton->SetCurrentDelegate(this); |
+ m_pOldDelegate = pPushButton->GetDelegate(); |
+ pPushButton->SetDelegate(this); |
m_pNormalWidget = pPushButton; |
m_pNormalWidget->SetLayoutItem(this); |