diff options
| author | Pietro Gagliardi <[email protected]> | 2014-02-12 11:29:20 -0500 |
|---|---|---|
| committer | Pietro Gagliardi <[email protected]> | 2014-02-12 11:29:20 -0500 |
| commit | ddfb5c760345b03c16c1559bd3e83cbafb8b11c3 (patch) | |
| tree | e182dc1bcdf4f1e2eae7dd333aa27195087f9230 /window.go | |
| parent | 87a99bd675d6bbfedc1e4446c6fd25ee5f55f3a4 (diff) | |
Added buttons.
Diffstat (limited to 'window.go')
| -rw-r--r-- | window.go | 5 |
1 files changed, 2 insertions, 3 deletions
@@ -47,7 +47,6 @@ func (w *Window) SetControl(control Control) (err error) { } w.control = control w.control.setParent(w) - w.control.setParentWindow(w) return nil } @@ -112,6 +111,6 @@ func (w *Window) apply() error { func (w *Window) setParent(c Control) { panic("Window.setParent() should never be called") } -func (w *Window) setParentWindow(w2 *Window) { - panic("Window.setParent() should never be called") +func (w *Window) parentWindow() *Window { + panic("Window.parentWindow() should never be called") } |
