diff options
Diffstat (limited to 'redo/controls_windows.go')
| -rw-r--r-- | redo/controls_windows.go | 3 |
1 files changed, 1 insertions, 2 deletions
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 |
