summaryrefslogtreecommitdiff
path: root/button.go
diff options
context:
space:
mode:
Diffstat (limited to 'button.go')
-rw-r--r--button.go5
1 files changed, 0 insertions, 5 deletions
diff --git a/button.go b/button.go
index d464780..c3f5c7e 100644
--- a/button.go
+++ b/button.go
@@ -12,7 +12,6 @@ type Button struct {
lock sync.Mutex
created bool
- parent Control
sysData *sysData
initText string
}
@@ -55,7 +54,3 @@ func (b *Button) setRect(x int, y int, width int, height int) error {
return b.sysData.setRect(x, y, width, height)
}
-
-func (b *Button) setParent(c Control) {
- b.parent = c
-}