diff options
| author | Pietro Gagliardi <[email protected]> | 2014-10-15 12:57:08 -0400 |
|---|---|---|
| committer | Pietro Gagliardi <[email protected]> | 2014-10-15 12:57:08 -0400 |
| commit | 6b2dac42002cc09972106d75093e504fe33e7a9f (patch) | |
| tree | 6f2aa5b17e5e7e64cc8660a131858dea9b89ee24 /newctrl/container_windows.go | |
| parent | d6b7a0d8c25c3a1a2c521dfa1e3a61eb1b536124 (diff) | |
Migrated the layout containers. No margins yet. If all goes well, though, this should be enough...
Diffstat (limited to 'newctrl/container_windows.go')
| -rw-r--r-- | newctrl/container_windows.go | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/newctrl/container_windows.go b/newctrl/container_windows.go index a9552cc..61a7296 100644 --- a/newctrl/container_windows.go +++ b/newctrl/container_windows.go @@ -57,6 +57,10 @@ func (c *container) hide() { C.ShowWindow(c.hwnd, C.SW_HIDE) } +func (c *container) parent() *controlParent { + return &controlParent{c.hwnd} +) + //export storeContainerHWND func storeContainerHWND(data unsafe.Pointer, hwnd C.HWND) { c := (*container)(data) |
