diff options
Diffstat (limited to 'newctrl/label_windows.go')
| -rw-r--r-- | newctrl/label_windows.go | 2 |
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) |
