예제 #1
0
파일: sizer.go 프로젝트: 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)))

}
예제 #2
0
파일: sizer.go 프로젝트: jimmygan/wxgo-1
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)))

}