From 91113a32bf164ddd2dc26639538f8833e692710f Mon Sep 17 00:00:00 2001 From: Pietro Gagliardi Date: Thu, 13 Feb 2014 11:45:10 -0500 Subject: Removed Control.setParent() as the parent/child hierarchy is now unidirectional. --- window.go | 3 --- 1 file changed, 3 deletions(-) (limited to 'window.go') 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") -} -- cgit v1.2.3