Ejemplo n.º 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
}
Ejemplo n.º 2
0
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)
}