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. --- win32/PlatWin.cxx | 5 ----- 1 file changed, 5 deletions(-) (limited to 'win32') diff --git a/win32/PlatWin.cxx b/win32/PlatWin.cxx index f63262cfe..cade8d005 100644 --- a/win32/PlatWin.cxx +++ b/win32/PlatWin.cxx @@ -2341,11 +2341,6 @@ void Window::InvalidateRectangle(PRectangle rc) { ::InvalidateRect(HwndFromWindowID(wid), &rcw, FALSE); } -void Window::SetFont(const Font *font) { - const FontWin *pfm = dynamic_cast(font); - SetWindowFont(HwndFromWindowID(wid), pfm->HFont(), 0); -} - namespace { void FlipBitmap(HBITMAP bitmap, int width, int height) noexcept { -- cgit v1.2.3