Index: xfa/fxfa/app/xfa_ffimageedit.cpp |
diff --git a/xfa/fxfa/app/xfa_ffimageedit.cpp b/xfa/fxfa/app/xfa_ffimageedit.cpp |
index 2250eef2e407b975059559c3bf88b7853df7acfb..bda281f7448810379e810e6c4a523b7a49e20e19 100644 |
--- a/xfa/fxfa/app/xfa_ffimageedit.cpp |
+++ b/xfa/fxfa/app/xfa_ffimageedit.cpp |
@@ -28,8 +28,8 @@ FX_BOOL CXFA_FFImageEdit::LoadWidget() { |
pPictureBox->Initialize(); |
} |
m_pNormalWidget = (CFWL_Widget*)pPictureBox; |
+ 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 = pPictureBox->SetDelegate(this); |