Index: fpdfsdk/include/pdfwindow/PWL_ListBox.h |
diff --git a/fpdfsdk/include/pdfwindow/PWL_ListBox.h b/fpdfsdk/include/pdfwindow/PWL_ListBox.h |
index c5a6df76dddd134248c345dab4e4cf7a6adcde46..bbb9f35125c9f9440a6954efea0fff42863b2e58 100644 |
--- a/fpdfsdk/include/pdfwindow/PWL_ListBox.h |
+++ b/fpdfsdk/include/pdfwindow/PWL_ListBox.h |
@@ -59,7 +59,7 @@ public: |
virtual void OnNotify(CPWL_Wnd* pWnd, FX_DWORD msg, intptr_t wParam = 0, intptr_t lParam = 0); |
virtual void RePosChildWnd(); |
- virtual void SetText(FX_LPCWSTR csText,FX_BOOL bRefresh = TRUE); |
+ virtual void SetText(const FX_WCHAR* csText,FX_BOOL bRefresh = TRUE); |
virtual CFX_WideString GetText() const; |
virtual CPDF_Rect GetFocusRect() const; |
virtual void SetFontSize(FX_FLOAT fFontSize); |
@@ -67,7 +67,7 @@ public: |
void OnNotifySelChanged(FX_BOOL bKeyDown, FX_BOOL & bExit , FX_DWORD nFlag); |
- void AddString(FX_LPCWSTR string); |
+ void AddString(const FX_WCHAR* string); |
void SetTopVisibleIndex(int32_t nItemIndex); |
void ScrollToListItem(int32_t nItemIndex); |
void ResetContent(); |