diff options
| author | Jeff Carr <[email protected]> | 2023-04-27 12:41:42 -0500 |
|---|---|---|
| committer | Jeff Carr <[email protected]> | 2023-04-27 12:41:42 -0500 |
| commit | 253dcb012f6d4fc861e6fc9a66fd2c7260ead442 (patch) | |
| tree | a3092695fa5d6769d5898e3319016f0bb84ae6e9 /toolkit/andlabs/button.go | |
| parent | 8100e7a1abdc31afbf65af6d0b7cd7cb0fff69eb (diff) | |
andlabs: deprecate old code
Signed-off-by: Jeff Carr <[email protected]>
Diffstat (limited to 'toolkit/andlabs/button.go')
| -rw-r--r-- | toolkit/andlabs/button.go | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/toolkit/andlabs/button.go b/toolkit/andlabs/button.go index b3eae7b..a6260b5 100644 --- a/toolkit/andlabs/button.go +++ b/toolkit/andlabs/button.go @@ -19,12 +19,10 @@ func (p *node) newButton(n *node) { b := ui.NewButton(n.Text) newt.uiButton = b newt.uiControl = b - newt.wId = n.WidgetId - newt.WidgetType = n.WidgetType newt.parent = t b.OnClicked(func(*ui.Button) { - newt.doUserEvent() + n.doUserEvent() }) n.tk = newt |
