Index: fpdfsdk/formfiller/cffl_formfiller.cpp |
diff --git a/fpdfsdk/formfiller/cffl_formfiller.cpp b/fpdfsdk/formfiller/cffl_formfiller.cpp |
index 3248c3b6c5ab202614b8ce9fee1e32cd0d3f1874..c206577168a3092d19d8b2bcf8a6de8aec2fc8a5 100644 |
--- a/fpdfsdk/formfiller/cffl_formfiller.cpp |
+++ b/fpdfsdk/formfiller/cffl_formfiller.cpp |
@@ -367,7 +367,7 @@ CPWL_Wnd* CFFL_FormFiller::GetPDFWindow(CPDFSDK_PageView* pPageView, |
} |
} else { |
PWL_CREATEPARAM cp = GetCreateParam(); |
- cp.hAttachedWnd = (FX_HWND)m_pWidget; |
+ cp.pAttachedWidget = m_pWidget; |
CFFL_PrivateData* pPrivateData = new CFFL_PrivateData; |
pPrivateData->pWidget = m_pWidget; |