summaryrefslogtreecommitdiff
path: root/control.go
diff options
context:
space:
mode:
Diffstat (limited to 'control.go')
-rw-r--r--control.go4
1 files changed, 2 insertions, 2 deletions
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() {