More TODOs.

This commit is contained in:
Pietro Gagliardi 2014-08-03 09:20:00 -04:00
parent 1aea308645
commit 6785b48d28
1 changed files with 2 additions and 0 deletions

View File

@ -22,6 +22,8 @@ func newControl(class C.LPWSTR, style C.DWORD, extstyle C.DWORD) *controlbase {
return c return c
} }
// TODO for maximum correctness these shouldn't take controlbases... but then the amount of duplicated code would skyrocket
func basesetParent(c *controlbase, p *controlParent) { func basesetParent(c *controlbase, p *controlParent) {
C.controlSetParent(c.hwnd, p.hwnd) C.controlSetParent(c.hwnd, p.hwnd)
c.parent = p.hwnd c.parent = p.hwnd