summaryrefslogtreecommitdiff
path: root/newctrl/label_windows.go
diff options
context:
space:
mode:
authorPietro Gagliardi <[email protected]>2014-10-15 13:30:35 -0400
committerPietro Gagliardi <[email protected]>2014-10-15 13:30:35 -0400
commit0e32aff30b87b7dc355c825949e6096ca90e7165 (patch)
treeb938553e097b6b5d084ecd2df2fa78bb8f1588de /newctrl/label_windows.go
parent6b2dac42002cc09972106d75093e504fe33e7a9f (diff)
Fixed compiler errors.
Diffstat (limited to 'newctrl/label_windows.go')
-rw-r--r--newctrl/label_windows.go2
1 files changed, 1 insertions, 1 deletions
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)