From 5ab5777d4cbfe6490760ef4e618bd5fe80a20bea Mon Sep 17 00:00:00 2001 From: Pietro Gagliardi Date: Sat, 11 Aug 2018 19:52:29 -0400 Subject: More control conversion and syncing. --- control.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'control.go') diff --git a/control.go b/control.go index 3bcdfbe..0762542 100644 --- a/control.go +++ b/control.go @@ -92,7 +92,7 @@ func (c *ControlBase) Handle() uintptr { } func (c *ControlBase) Visible() bool { - return frombool(C.uiControlVisible(c.c)) + return tobool(C.uiControlVisible(c.c)) } func (c *ControlBase) Show() { @@ -104,7 +104,7 @@ func (c *ControlBase) Hide() { } func (c *ControlBase) Enabled() bool { - return frombool(C.uiControlEnabled(c.c)) + return tobool(C.uiControlEnabled(c.c)) } func (c *ControlBase) Enable() { -- cgit v1.2.3