diff options
Diffstat (limited to 'fpdfsdk/formfiller/cffl_listbox.cpp')
-rw-r--r-- | fpdfsdk/formfiller/cffl_listbox.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/fpdfsdk/formfiller/cffl_listbox.cpp b/fpdfsdk/formfiller/cffl_listbox.cpp index 3c74875d43..88414cc9fc 100644 --- a/fpdfsdk/formfiller/cffl_listbox.cpp +++ b/fpdfsdk/formfiller/cffl_listbox.cpp @@ -40,8 +40,9 @@ CPWL_Wnd::CreateParams CFFL_ListBox::GetCreateParam() { } std::unique_ptr<CPWL_Wnd> CFFL_ListBox::NewPDFWindow( - const CPWL_Wnd::CreateParams& cp) { - auto pWnd = pdfium::MakeUnique<CPWL_ListBox>(); + const CPWL_Wnd::CreateParams& cp, + std::unique_ptr<CPWL_Wnd::PrivateData> pAttachedData) { + auto pWnd = pdfium::MakeUnique<CPWL_ListBox>(std::move(pAttachedData)); pWnd->AttachFFLData(this); pWnd->Create(cp); pWnd->SetFillerNotify(m_pFormFillEnv->GetInteractiveFormFiller()); |