Index: fpdfsdk/pdfwindow/PWL_EditCtrl.cpp |
diff --git a/fpdfsdk/pdfwindow/PWL_EditCtrl.cpp b/fpdfsdk/pdfwindow/PWL_EditCtrl.cpp |
index dd1094a868704494025c0db71ec2ba5e2f9aae39..1bb17db6de0fcea2a4802a06a09d4ea292c1a68e 100644 |
--- a/fpdfsdk/pdfwindow/PWL_EditCtrl.cpp |
+++ b/fpdfsdk/pdfwindow/PWL_EditCtrl.cpp |
@@ -25,12 +25,10 @@ CPWL_EditCtrl::CPWL_EditCtrl() |
: m_pEdit(new CFX_Edit), |
m_pEditCaret(nullptr), |
m_bMouseDown(FALSE), |
- m_pEditNotify(nullptr), |
m_nCharSet(DEFAULT_CHARSET), |
m_nCodePage(0) {} |
-CPWL_EditCtrl::~CPWL_EditCtrl() { |
-} |
+CPWL_EditCtrl::~CPWL_EditCtrl() {} |
void CPWL_EditCtrl::OnCreate(PWL_CREATEPARAM& cp) { |
cp.eCursorType = FXCT_VBEAM; |
@@ -566,13 +564,10 @@ void CPWL_EditCtrl::IOnSetCaret(FX_BOOL bVisible, |
OnNotify(this, PNM_SETCARETINFO, (intptr_t)&cInfo, (intptr_t) nullptr); |
} |
-void CPWL_EditCtrl::IOnContentChange(const CFX_FloatRect& rcContent) { |
- if (IsValid()) { |
- if (m_pEditNotify) { |
- m_pEditNotify->OnContentChange(rcContent); |
- } |
- } |
-} |
+void CPWL_EditCtrl::IOnCaretChange(const CPVT_SecProps& secProps, |
+ const CPVT_WordProps& wordProps) {} |
+ |
+void CPWL_EditCtrl::IOnContentChange(const CFX_FloatRect& rcContent) {} |
void CPWL_EditCtrl::IOnInvalidateRect(CFX_FloatRect* pRect) { |
InvalidateRect(pRect); |