diff options
author | Lei Zhang <thestig@chromium.org> | 2018-04-17 14:54:40 +0000 |
---|---|---|
committer | Chromium commit bot <commit-bot@chromium.org> | 2018-04-17 14:54:40 +0000 |
commit | 3900ddb64f30f36fd6696bd2927cf8f151e6ede9 (patch) | |
tree | c73d361ea40fe4206f100c90fd2442afa49a47ab /fpdfsdk/pwl/cpwl_edit_ctrl.h | |
parent | 6b26e1ae69321717c5ce098a1cd2c9f3e1099344 (diff) | |
download | pdfium-3900ddb64f30f36fd6696bd2927cf8f151e6ede9.tar.xz |
Add a virtual CPWL_Wnd::GetText() method.
Most CPWL_Wnd subclasses already have GetText() implementations.
Change-Id: I61858019c59f915df422afaca97b8abde345575b
Reviewed-on: https://pdfium-review.googlesource.com/30860
Reviewed-by: dsinclair <dsinclair@chromium.org>
Commit-Queue: Lei Zhang <thestig@chromium.org>
Diffstat (limited to 'fpdfsdk/pwl/cpwl_edit_ctrl.h')
-rw-r--r-- | fpdfsdk/pwl/cpwl_edit_ctrl.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fpdfsdk/pwl/cpwl_edit_ctrl.h b/fpdfsdk/pwl/cpwl_edit_ctrl.h index 31140e3038..544464770f 100644 --- a/fpdfsdk/pwl/cpwl_edit_ctrl.h +++ b/fpdfsdk/pwl/cpwl_edit_ctrl.h @@ -25,7 +25,6 @@ class CPWL_EditCtrl : public CPWL_Wnd { CPWL_EditCtrl(); ~CPWL_EditCtrl() override; - WideString GetText() const; void SetSelection(int32_t nStartChar, int32_t nEndChar); void GetSelection(int32_t& nStartChar, int32_t& nEndChar) const; void ClearSelection(); @@ -60,6 +59,7 @@ class CPWL_EditCtrl : public CPWL_Wnd { void SetFontSize(float fFontSize) override; float GetFontSize() const override; void SetCursor() override; + WideString GetText() override; WideString GetSelectedText() override; void ReplaceSelection(const WideString& text) override; |