From 3900ddb64f30f36fd6696bd2927cf8f151e6ede9 Mon Sep 17 00:00:00 2001 From: Lei Zhang Date: Tue, 17 Apr 2018 14:54:40 +0000 Subject: 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 Commit-Queue: Lei Zhang --- fpdfsdk/pwl/cpwl_list_box.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'fpdfsdk/pwl/cpwl_list_box.h') diff --git a/fpdfsdk/pwl/cpwl_list_box.h b/fpdfsdk/pwl/cpwl_list_box.h index 9a725d14e3..b424afc51e 100644 --- a/fpdfsdk/pwl/cpwl_list_box.h +++ b/fpdfsdk/pwl/cpwl_list_box.h @@ -56,6 +56,7 @@ class CPWL_ListBox : public CPWL_Wnd { const CFX_PointF& point, uint32_t nFlag) override; void KillFocus() override; + WideString GetText() override; void SetScrollInfo(const PWL_SCROLL_INFO& info) override; void SetScrollPosition(float pos) override; void ScrollWindowVertically(float pos) override; @@ -64,8 +65,6 @@ class CPWL_ListBox : public CPWL_Wnd { void SetFontSize(float fFontSize) override; float GetFontSize() const override; - virtual WideString GetText() const; - bool OnNotifySelectionChanged(bool bKeyDown, uint32_t nFlag); void AddString(const WideString& str); -- cgit v1.2.3