summaryrefslogtreecommitdiff
path: root/redo/controls_windows.go
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.go
parent489ce0a0538c81ab6a10efd4b97cce6299fc4d81 (diff)
Added (and applied) standard Windows fonts.
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(),