Пример #1
0
func (w *window) AddChild(child Window) {
	p := wxPtr(w)
	if p == nil {
		return
	}
	child.unhold()
	C.wxWindow_AddChild(p, wxPtr(child))
}
Пример #2
0
func (w *window) AddChild(child Window) {
	p := ptr(w)
	if p == nil {
		return
	}
	globalObjectTable.unhold(child)
	C.wxWindow_AddChild(p, ptr(child))
}