diff options
Diffstat (limited to 'xfa/fxfa/app/xfa_ffchoicelist.h')
-rw-r--r-- | xfa/fxfa/app/xfa_ffchoicelist.h | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/xfa/fxfa/app/xfa_ffchoicelist.h b/xfa/fxfa/app/xfa_ffchoicelist.h index 8875655901..20f053cc20 100644 --- a/xfa/fxfa/app/xfa_ffchoicelist.h +++ b/xfa/fxfa/app/xfa_ffchoicelist.h @@ -25,10 +25,9 @@ class CXFA_FFListBox : public CXFA_FFField { void OnDrawWidget(CFX_Graphics* pGraphics, const CFX_Matrix* pMatrix = nullptr) override; - void OnSelectChanged(CFWL_Widget* pWidget, - const std::vector<int32_t>& arrSels); + void OnSelectChanged(CFWL_Widget* pWidget); void SetItemState(int32_t nIndex, bool bSelected); - void InsertItem(const CFX_WideStringC& wsLabel, int32_t nIndex = -1); + void InsertItem(const CFX_WideStringC& wsLabel, int32_t nIndex); void DeleteItem(int32_t nIndex); private: @@ -81,7 +80,7 @@ class CXFA_FFComboBox : public CXFA_FFField { void OnPreOpen(CFWL_Widget* pWidget); void OnPostOpen(CFWL_Widget* pWidget); void SetItemState(int32_t nIndex, bool bSelected); - void InsertItem(const CFX_WideStringC& wsLabel, int32_t nIndex = -1); + void InsertItem(const CFX_WideStringC& wsLabel, int32_t nIndex); void DeleteItem(int32_t nIndex); private: |