diff options
| author | Pietro Gagliardi <[email protected]> | 2014-08-04 13:13:59 -0400 |
|---|---|---|
| committer | Pietro Gagliardi <[email protected]> | 2014-08-04 13:13:59 -0400 |
| commit | 0496cf77b52e1713749fe40a8ef1b22f4918ad1d (patch) | |
| tree | 8635b78a59a0df4c634f523222aea313434eec67 /redo/layout_windows.go | |
| parent | 950548563dfc284f913e78895eeead6e8a14553a (diff) | |
Changed Tab on Windows to store each control in a *layout (see previous commit). Now I can throw out containerShow()/containerHide()/Show()/Hide(). This also will let me do the right thing with sizer and dialog base units again, and even get rid of sizer's confusion once and for all!
Diffstat (limited to 'redo/layout_windows.go')
| -rw-r--r-- | redo/layout_windows.go | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/redo/layout_windows.go b/redo/layout_windows.go index 58f7872..7d55a58 100644 --- a/redo/layout_windows.go +++ b/redo/layout_windows.go @@ -35,6 +35,10 @@ func newLayout(title string, width int, height int, child C.BOOL, control Contro return l } +func (l *layout) setParent(p *controlParent) { + C.controlSetParent(l.hwnd, p.hwnd) +} + //export storeWindowHWND func storeWindowHWND(data unsafe.Pointer, hwnd C.HWND) { l := (*layout)(data) |
