示例#1
0
func (s *sizerItem) NewSizerItem(sizer Sizer, flags *SizerFlags) SizerItem {
	item := &sizerItem{}
	item.bindWxPtr(C.wxSizerItem_NewSizer(sizer.wxPtr(), (*C.SizerFlags)(flags)), true)
	return item
}
示例#2
0
文件: sizeritem.go 项目: nzlov/wxgo
func NewSizerItem(sizer Sizer, flags *SizerFlags) SizerItem {
	return globalObjectTable.bindObject(C.wxSizerItem_NewSizer(sizer.ptr(), (*C.SizerFlags)(flags)), true).(SizerItem)
}