From e73e7ab733b0ab9deb30868a334da2642b7f456b Mon Sep 17 00:00:00 2001 From: Pietro Gagliardi Date: Sat, 19 Jul 2014 10:07:42 -0400 Subject: Fixed more conversion kinks. Now for a major change... --- redo/controls_windows.go | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'redo/controls_windows.go') diff --git a/redo/controls_windows.go b/redo/controls_windows.go index 81ad2ac..84b5625 100644 --- a/redo/controls_windows.go +++ b/redo/controls_windows.go @@ -47,7 +47,6 @@ type button struct { var buttonclass = toUTF16("BUTTON") func newButton(text string) *button { - op: func() { w := newWidget(buttonclass, C.BS_PUSHBUTTON | C.WS_TABSTOP, 0) @@ -70,7 +69,7 @@ func (b *button) Text() string { } func (b *button) SetText(text string) { - return b.settext(text) + b.settext(text) } //export buttonClicked -- cgit v1.2.3