diff options
| author | Pietro Gagliardi <[email protected]> | 2014-02-13 11:45:10 -0500 |
|---|---|---|
| committer | Pietro Gagliardi <[email protected]> | 2014-02-13 11:45:10 -0500 |
| commit | 91113a32bf164ddd2dc26639538f8833e692710f (patch) | |
| tree | cce258265bfff588e3896839053c7cb850a4017d /button.go | |
| parent | a400ec666641893142b5f89ff6f55b90ccb26359 (diff) | |
Removed Control.setParent() as the parent/child hierarchy is now unidirectional.
Diffstat (limited to 'button.go')
| -rw-r--r-- | button.go | 5 |
1 files changed, 0 insertions, 5 deletions
@@ -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 -} |
