Index: fpdfsdk/src/pdfwindow/PWL_EditCtrl.cpp |
diff --git a/fpdfsdk/src/pdfwindow/PWL_EditCtrl.cpp b/fpdfsdk/src/pdfwindow/PWL_EditCtrl.cpp |
index a38371c326e437c9f1f7788d8335a4b154931c3a..57b0c017822c74cc5c55ba90ebb599389d78d2b2 100644 |
--- a/fpdfsdk/src/pdfwindow/PWL_EditCtrl.cpp |
+++ b/fpdfsdk/src/pdfwindow/PWL_EditCtrl.cpp |
@@ -561,7 +561,7 @@ FX_FLOAT CPWL_EditCtrl::GetCaretFontSize() const |
return fFontSize; |
} |
-void CPWL_EditCtrl::SetText(FX_LPCWSTR csText) |
+void CPWL_EditCtrl::SetText(const FX_WCHAR* csText) |
{ |
m_pEdit->SetText(csText); |
} |
@@ -582,7 +582,7 @@ void CPWL_EditCtrl::ShowVScrollBar(FX_BOOL bShow) |
{ |
} |
-void CPWL_EditCtrl::InsertText(FX_LPCWSTR csText) |
+void CPWL_EditCtrl::InsertText(const FX_WCHAR* csText) |
{ |
if (!IsReadOnly()) |
m_pEdit->InsertText(csText); |