summaryrefslogtreecommitdiff
path: root/redo/controls_windows.c
diff options
context:
space:
mode:
authorPietro Gagliardi <[email protected]>2014-07-18 11:20:18 -0400
committerPietro Gagliardi <[email protected]>2014-07-18 11:20:18 -0400
commitf64f2781ce07d140ef450c6c56777da8728dc612 (patch)
tree70b8233455aa468c578c2af199b976e70bd52f22 /redo/controls_windows.c
parent489ce0a0538c81ab6a10efd4b97cce6299fc4d81 (diff)
Added (and applied) standard Windows fonts.
Diffstat (limited to 'redo/controls_windows.c')
-rw-r--r--redo/controls_windows.c5
1 files changed, 5 insertions, 0 deletions
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