Exemplo n.º 1
0
Arquivo: sizer.go Projeto: nzlov/wxgo
func (s *sizer) Detach(index int) bool {
	p := s.ptr()
	if p == nil {
		return false
	}
	globalObjectTable.hold(s.Item(index))
	return goBool(C.wxSizer_Detach(p, C.int(index)))

}
Exemplo n.º 2
0
func (s *sizer) Detach(index int) bool {
	p := s.wxPtr()
	if p == nil {
		return false
	}
	//BUG: get the Sizer from item and hold it.
	//item := s.Item(index)
	return goBool(C.wxSizer_Detach(p, C.int(index)))

}