diff options
Diffstat (limited to 'fpdfsdk/formfiller/cffl_radiobutton.cpp')
-rw-r--r-- | fpdfsdk/formfiller/cffl_radiobutton.cpp | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/fpdfsdk/formfiller/cffl_radiobutton.cpp b/fpdfsdk/formfiller/cffl_radiobutton.cpp index 6c8d5a3883..f8ada67ff3 100644 --- a/fpdfsdk/formfiller/cffl_radiobutton.cpp +++ b/fpdfsdk/formfiller/cffl_radiobutton.cpp @@ -18,12 +18,10 @@ CFFL_RadioButton::CFFL_RadioButton(CPDFSDK_FormFillEnvironment* pApp, CFFL_RadioButton::~CFFL_RadioButton() {} -CPWL_Wnd* CFFL_RadioButton::NewPDFWindow(const PWL_CREATEPARAM& cp) { - CPWL_RadioButton* pWnd = new CPWL_RadioButton(); +CPWL_Wnd* CFFL_RadioButton::NewPDFWindow(const CPWL_Wnd::CreateParams& cp) { + auto* pWnd = new CPWL_RadioButton(); pWnd->Create(cp); - pWnd->SetCheck(m_pWidget->IsChecked()); - return pWnd; } |