summaryrefslogtreecommitdiff
path: root/redo/controls_windows.c
diff options
context:
space:
mode:
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