Index: xfa/fxfa/app/xfa_ffbarcode.cpp |
diff --git a/xfa/fxfa/app/xfa_ffbarcode.cpp b/xfa/fxfa/app/xfa_ffbarcode.cpp |
index a659e13c55d31cf67b583aafc93a045bf30bc233..508356ccf29abe380ca2e5f9acdc0e3b504c360f 100644 |
--- a/xfa/fxfa/app/xfa_ffbarcode.cpp |
+++ b/xfa/fxfa/app/xfa_ffbarcode.cpp |
@@ -126,8 +126,8 @@ FX_BOOL CXFA_FFBarcode::LoadWidget() { |
pFWLBarcode->Initialize(); |
} |
m_pNormalWidget = pFWLBarcode; |
+ 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_pOldDelegate = m_pNormalWidget->SetDelegate(this); |