diff options
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) |
