diff options
Diffstat (limited to 'fpdfsdk/formfiller/cffl_pushbutton.cpp')
-rw-r--r-- | fpdfsdk/formfiller/cffl_pushbutton.cpp | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/fpdfsdk/formfiller/cffl_pushbutton.cpp b/fpdfsdk/formfiller/cffl_pushbutton.cpp index f09a8f7d8d..7310da6761 100644 --- a/fpdfsdk/formfiller/cffl_pushbutton.cpp +++ b/fpdfsdk/formfiller/cffl_pushbutton.cpp @@ -15,9 +15,8 @@ CFFL_PushButton::CFFL_PushButton(CPDFSDK_FormFillEnvironment* pApp, CFFL_PushButton::~CFFL_PushButton() {} -CPWL_Wnd* CFFL_PushButton::NewPDFWindow(const PWL_CREATEPARAM& cp) { - CPWL_PushButton* pWnd = new CPWL_PushButton(); +CPWL_Wnd* CFFL_PushButton::NewPDFWindow(const CPWL_Wnd::CreateParams& cp) { + auto* pWnd = new CPWL_PushButton(); pWnd->Create(cp); - return pWnd; } |