From f64f2781ce07d140ef450c6c56777da8728dc612 Mon Sep 17 00:00:00 2001 From: Pietro Gagliardi Date: Fri, 18 Jul 2014 11:20:18 -0400 Subject: Added (and applied) standard Windows fonts. --- redo/controls_windows.c | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'redo/controls_windows.c') diff --git a/redo/controls_windows.c b/redo/controls_windows.c index 64bf273..c660bd7 100644 --- a/redo/controls_windows.c +++ b/redo/controls_windows.c @@ -31,6 +31,11 @@ void controlSetParent(HWND control, HWND parent) xpanic("error changing control parent", GetLastError()); } +void controlSetControlFont(HWND which) +{ + SendMessageW(which, WM_SETFONT, (WPARAM) controlFont, TRUE); +} + /* all controls that have events receive the events themselves through subclasses to do this, all windows (including the message-only window; see http://support.microsoft.com/default.aspx?scid=KB;EN-US;Q104069) forward WM_COMMAND to each control with this function -- cgit v1.2.3