summaryrefslogtreecommitdiff
path: root/fpdfsdk/fxedit/include/fxet_list.h
diff options
context:
space:
mode:
Diffstat (limited to 'fpdfsdk/fxedit/include/fxet_list.h')
-rw-r--r--fpdfsdk/fxedit/include/fxet_list.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/fpdfsdk/fxedit/include/fxet_list.h b/fpdfsdk/fxedit/include/fxet_list.h
index 2377e1d080..b5cd392eda 100644
--- a/fpdfsdk/fxedit/include/fxet_list.h
+++ b/fpdfsdk/fxedit/include/fxet_list.h
@@ -105,7 +105,7 @@ class CFX_ListItem final {
void SetRect(const CLST_Rect& rect);
void SetSelect(FX_BOOL bSelected);
- void SetText(const FX_WCHAR* text);
+ void SetText(const CFX_WideString& text);
void SetFontSize(FX_FLOAT fFontSize);
CFX_WideString GetText() const;
@@ -243,7 +243,7 @@ class CFX_ListCtrl : protected CFX_ListContainer {
int32_t GetTopItem() const;
CFX_FloatRect GetContentRect() const;
int32_t GetItemIndex(const CFX_FloatPoint& point) const;
- void AddString(const FX_WCHAR* str);
+ void AddString(const CFX_WideString& str);
void SetTopItem(int32_t nIndex);
void Select(int32_t nItemIndex);
void SetCaret(int32_t nItemIndex);
@@ -281,7 +281,7 @@ class CFX_ListCtrl : protected CFX_ListContainer {
FX_BOOL IsItemVisible(int32_t nItemIndex) const;
void SetScrollInfo();
void SetScrollPosY(FX_FLOAT fy);
- void AddItem(const FX_WCHAR* str);
+ void AddItem(const CFX_WideString& str);
CFX_WideString GetItemText(int32_t nIndex) const;
void SetItemSelect(int32_t nItemIndex, FX_BOOL bSelected);
int32_t GetLastSelected() const;