From 0e32aff30b87b7dc355c825949e6096ca90e7165 Mon Sep 17 00:00:00 2001 From: Pietro Gagliardi Date: Wed, 15 Oct 2014 13:30:35 -0400 Subject: Fixed compiler errors. --- newctrl/label_windows.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'newctrl/label_windows.go') diff --git a/newctrl/label_windows.go b/newctrl/label_windows.go index 3a9e3b7..1e6089d 100644 --- a/newctrl/label_windows.go +++ b/newctrl/label_windows.go @@ -12,7 +12,7 @@ type label struct { var labelclass = toUTF16("STATIC") -func newLabel(text string) { +func newLabel(text string) Label { hwnd := C.newControl(labelclass, // SS_NOPREFIX avoids accelerator translation; SS_LEFTNOWORDWRAP clips text past the end // controls are vertically aligned to the top by default (thanks Xeek in irc.freenode.net/#winapi) -- cgit v1.2.3