summaryrefslogtreecommitdiff
path: root/redo/controls_windows.go
diff options
context:
space:
mode:
Diffstat (limited to 'redo/controls_windows.go')
-rw-r--r--redo/controls_windows.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/redo/controls_windows.go b/redo/controls_windows.go
index ec2f827..b9ece44 100644
--- a/redo/controls_windows.go
+++ b/redo/controls_windows.go
@@ -67,6 +67,7 @@ func newButton(text string) *Request {
C.BS_PUSHBUTTON | C.WS_TABSTOP,
0)
C.setWindowText(w.hwnd, toUTF16(text))
+ C.controlSetControlFont(w.hwnd)
b := &button{
widgetbase: w,
clicked: newEvent(),