Пример #1
0
func (w *window) Parent() Window {
	p := wxPtr(w)
	if p == nil {
		return nil
	}
	if concrete := NewObjectFromPtr(C.wxWindow_GetParent(p), false); concrete != nil {
		return concrete.(Window)
	}
	return nil
}
Пример #2
0
func (w *window) Parent() Window {
	p := ptr(w)
	if p == nil {
		return nil
	}
	if concrete := bindObject(C.wxWindow_GetParent(p), false); concrete != nil {
		return concrete.(Window)
	}
	return nil
}