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))) }
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))) }