diff options
| author | Pietro Gagliardi <[email protected]> | 2014-07-22 00:07:41 -0400 |
|---|---|---|
| committer | Pietro Gagliardi <[email protected]> | 2014-07-22 00:07:41 -0400 |
| commit | e989c953fa683c56d9214e24c9f1fd22027afa9c (patch) | |
| tree | e95ca30ddb8108e35ab5b348f9cac4dec56371ed /redo/window_darwin.go | |
| parent | de92b822a744be07d0e6424481a0f0a5280a2d4b (diff) | |
Moved Window.SetControl() into window.go pending addition of fake resize events.
Diffstat (limited to 'redo/window_darwin.go')
| -rw-r--r-- | redo/window_darwin.go | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/redo/window_darwin.go b/redo/window_darwin.go index 9d70b1d..859c79a 100644 --- a/redo/window_darwin.go +++ b/redo/window_darwin.go @@ -33,15 +33,6 @@ func newWindow(title string, width int, height int) *window { return w } -func (w *window) SetControl(control Control) { - if w.child != nil { // unparent existing control - w.child.unparent() - } - control.unparent() - control.parent(w) - w.child = control -} - func (w *window) Title() string { return C.GoString(C.windowTitle(w.id)) } |
