summaryrefslogtreecommitdiff
path: root/redo/window_darwin.go
diff options
context:
space:
mode:
authorPietro Gagliardi <[email protected]>2014-08-02 07:28:20 -0400
committerPietro Gagliardi <[email protected]>2014-08-02 07:28:20 -0400
commit37cf0a20c06d457755f209d3fc393f9593c534af (patch)
treeabe52e9585cb7d4383dca3f994414316a258fd83 /redo/window_darwin.go
parent99b6b47a4963a84eab6aa0a941b7da5253399975 (diff)
Migrated the Mac OS X backend to sizer. Once I get this control sizing stuff working there and the height of a Tab tab on Windows, I'm going to chuck this whole embedding thing and sacrifice a non-cluttered directory structure for CODE SIMPLICITY.
Diffstat (limited to 'redo/window_darwin.go')
-rw-r--r--redo/window_darwin.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/redo/window_darwin.go b/redo/window_darwin.go
index 80d1a51..8393cf7 100644
--- a/redo/window_darwin.go
+++ b/redo/window_darwin.go
@@ -15,7 +15,7 @@ type window struct {
closing *event
- *container
+ *sizer
}
func newWindow(title string, width int, height int, control Control) *window {
@@ -26,7 +26,7 @@ func newWindow(title string, width int, height int, control Control) *window {
w := &window{
id: id,
closing: newEvent(),
- container: new(container),
+ sizer: new(sizer),
}
C.windowSetDelegate(id, unsafe.Pointer(w))
w.child = control