summaryrefslogtreecommitdiff
path: root/window.go
diff options
context:
space:
mode:
authorPietro Gagliardi <[email protected]>2014-02-13 11:45:10 -0500
committerPietro Gagliardi <[email protected]>2014-02-13 11:45:10 -0500
commit91113a32bf164ddd2dc26639538f8833e692710f (patch)
treecce258265bfff588e3896839053c7cb850a4017d /window.go
parenta400ec666641893142b5f89ff6f55b90ccb26359 (diff)
Removed Control.setParent() as the parent/child hierarchy is now unidirectional.
Diffstat (limited to 'window.go')
-rw-r--r--window.go3
1 files changed, 0 insertions, 3 deletions
diff --git a/window.go b/window.go
index 29003ec..da5606a 100644
--- a/window.go
+++ b/window.go
@@ -105,6 +105,3 @@ func (w *Window) apply(window *sysData) error {
func (w *Window) setRect(x int, y int, width int, height int) error {
panic("Window.setRect() should never be called")
}
-func (w *Window) setParent(c Control) {
- panic("Window.setParent() should never be called")
-}