diff options
Diffstat (limited to 'fpdfsdk/fxedit')
-rw-r--r-- | fpdfsdk/fxedit/fxet_list.cpp | 4 | ||||
-rw-r--r-- | fpdfsdk/fxedit/fxet_list.h | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/fpdfsdk/fxedit/fxet_list.cpp b/fpdfsdk/fxedit/fxet_list.cpp index 39877c955f..3782cf0a33 100644 --- a/fpdfsdk/fxedit/fxet_list.cpp +++ b/fpdfsdk/fxedit/fxet_list.cpp @@ -728,13 +728,13 @@ int32_t CFX_ListCtrl::GetLastSelected() const { return -1; } -FX_WCHAR CFX_ListCtrl::Toupper(FX_WCHAR c) const { +wchar_t CFX_ListCtrl::Toupper(wchar_t c) const { if ((c >= 'a') && (c <= 'z')) c = c - ('a' - 'A'); return c; } -int32_t CFX_ListCtrl::FindNext(int32_t nIndex, FX_WCHAR nChar) const { +int32_t CFX_ListCtrl::FindNext(int32_t nIndex, wchar_t nChar) const { int32_t nCircleIndex = nIndex; for (int32_t i = 0, sz = m_aListItems.GetSize(); i < sz; i++) { diff --git a/fpdfsdk/fxedit/fxet_list.h b/fpdfsdk/fxedit/fxet_list.h index 01e18bc000..9d07187560 100644 --- a/fpdfsdk/fxedit/fxet_list.h +++ b/fpdfsdk/fxedit/fxet_list.h @@ -262,7 +262,7 @@ class CFX_ListCtrl : protected CFX_ListContainer { void SetMultipleSel(bool bMultiple); bool IsMultipleSel() const; bool IsValid(int32_t nItemIndex) const; - int32_t FindNext(int32_t nIndex, FX_WCHAR nChar) const; + int32_t FindNext(int32_t nIndex, wchar_t nChar) const; int32_t GetFirstSelected() const; CFX_PointF InToOut(const CFX_PointF& point) const; @@ -285,7 +285,7 @@ class CFX_ListCtrl : protected CFX_ListContainer { CFX_WideString GetItemText(int32_t nIndex) const; void SetItemSelect(int32_t nItemIndex, bool bSelected); int32_t GetLastSelected() const; - FX_WCHAR Toupper(FX_WCHAR c) const; + wchar_t Toupper(wchar_t c) const; CPWL_List_Notify* m_pNotify; bool m_bNotifyFlag; |