From f0861077dfa88fd1e2846b164701eca5de63c292 Mon Sep 17 00:00:00 2001 From: Neil Date: Wed, 17 Mar 2021 15:43:24 +1100 Subject: Remove Window::SetFont as never used. --- src/Platform.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'src/Platform.h') diff --git a/src/Platform.h b/src/Platform.h index cd096af6b..5b2116fcd 100644 --- a/src/Platform.h +++ b/src/Platform.h @@ -245,7 +245,6 @@ public: void Show(bool show=true); void InvalidateAll(); void InvalidateRectangle(PRectangle rc); - virtual void SetFont(const Font *font); enum Cursor { cursorInvalid, cursorText, cursorArrow, cursorUp, cursorWait, cursorHoriz, cursorVert, cursorReverseArrow, cursorHand }; void SetCursor(Cursor curs); PRectangle GetMonitorRect(Point pt); @@ -276,7 +275,7 @@ public: ~ListBox() override; static ListBox *Allocate(); - void SetFont(const Font *font) override =0; + virtual void SetFont(const Font *font)=0; virtual void Create(Window &parent, int ctrlID, Point location, int lineHeight_, bool unicodeMode_, int technology_)=0; virtual void SetAverageCharWidth(int width)=0; virtual void SetVisibleRows(int rows)=0; -- cgit v1.2.3