Index: xfa/fxfa/app/xfa_ffpushbutton.cpp |
diff --git a/xfa/fxfa/app/xfa_ffpushbutton.cpp b/xfa/fxfa/app/xfa_ffpushbutton.cpp |
index c210814a42a4b363eea700587b2006ef8bc568ca..6c161b064bbc97604930107c89e239271bb1c6dc 100644 |
--- a/xfa/fxfa/app/xfa_ffpushbutton.cpp |
+++ b/xfa/fxfa/app/xfa_ffpushbutton.cpp |
@@ -59,8 +59,8 @@ FX_BOOL CXFA_FFPushButton::LoadWidget() { |
} |
m_pOldDelegate = pPushButton->SetDelegate(this); |
m_pNormalWidget = (CFWL_Widget*)pPushButton; |
+ m_pNormalWidget->SetLayoutItem(this); |
IFWL_Widget* pWidget = m_pNormalWidget->GetWidget(); |
- m_pNormalWidget->SetPrivateData(pWidget, this, NULL); |
CFWL_NoteDriver* pNoteDriver = FWL_GetApp()->GetNoteDriver(); |
pNoteDriver->RegisterEventTarget(pWidget, pWidget); |
m_pNormalWidget->LockUpdate(); |