aboutsummaryrefslogtreecommitdiffhomepage
path: root/win32
diff options
context:
space:
mode:
authorNeil <nyamatongwe@gmail.com>2021-03-17 15:43:24 +1100
committerNeil <nyamatongwe@gmail.com>2021-03-17 15:43:24 +1100
commitf0861077dfa88fd1e2846b164701eca5de63c292 (patch)
tree73e7cca1b5b22a65cb2d1f2549982ce9c6463036 /win32
parent1b5dd62b71d8d9b657b0cd7c138c9dc523a07cc4 (diff)
downloadscintilla-mirror-f0861077dfa88fd1e2846b164701eca5de63c292.tar.gz
Remove Window::SetFont as never used.
Diffstat (limited to 'win32')
-rw-r--r--win32/PlatWin.cxx5
1 files changed, 0 insertions, 5 deletions
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<const FontWin *>(font);
- SetWindowFont(HwndFromWindowID(wid), pfm->HFont(), 0);
-}
-
namespace {
void FlipBitmap(HBITMAP bitmap, int width, int height) noexcept {