예제 #1
0
func NewSpacerSizeItem(width int, height int, proportion int, flag int, border int, userData Object) SizerItem {
	s := &sizerItem{}
	var pUserData C.WxObjectPtr
	if userData != nil {
		userData.unhold()
		pUserData = userData.wxPtr()
	}
	s.bindWxPtr(C.wxSizerItem_NewSpacer(C.int(width), C.int(height), C.int(proportion), C.int(flag), C.int(border), pUserData), true)
	return s
}
예제 #2
0
파일: sizeritem.go 프로젝트: nzlov/wxgo
func NewSpacerSizeItem(width int, height int, proportion int, flag int, border int) SizerItem {
	return globalObjectTable.bindObject(C.wxSizerItem_NewSpacer(C.int(width), C.int(height), C.int(proportion), C.int(flag), C.int(border), nil), true).(SizerItem)
}