From 27e76ebb005280db2bbbd02b0efa6d7faf4bcec7 Mon Sep 17 00:00:00 2001 From: Jeff Carr Date: Thu, 6 Apr 2023 20:50:00 -0500 Subject: correctly deprecate *widget to plugins Signed-off-by: Jeff Carr --- toolkit/andlabs/checkbox.go | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'toolkit/andlabs/checkbox.go') diff --git a/toolkit/andlabs/checkbox.go b/toolkit/andlabs/checkbox.go index e4987e1..d60b515 100644 --- a/toolkit/andlabs/checkbox.go +++ b/toolkit/andlabs/checkbox.go @@ -8,9 +8,7 @@ import ( func (t *andlabsT) newCheckbox(a *toolkit.Action) *andlabsT { var newt andlabsT - w := a.Widget log(debugToolkit, "newCheckbox()", a.Name, a.WidgetType) - newt.tw = w newt.WidgetType = a.WidgetType newt.wId = a.WidgetId newt.Name = a.Name @@ -21,7 +19,7 @@ func (t *andlabsT) newCheckbox(a *toolkit.Action) *andlabsT { newt.uiCheckbox.OnToggled(func(spin *ui.Checkbox) { newt.b = newt.checked() - log(debugChange, "val =", newt.tw.B) + log(debugChange, "val =", newt.b) newt.doUserEvent() }) -- cgit v1.2.3