func NewFontInfoPixelSize(pixelSize *Size) FontInfo { f := &fontInfo{} f.bindPtr(C.wxFontInfo_PixelSize_New((*C.Size)(pixelSize)), func(p unsafe.Pointer) { C.wxFontInfo_Delete(p) }) return f }
func NewFontInfo() FontInfo { f := &fontInfo{} f.bindPtr(C.wxFontInfo_New(), func(p unsafe.Pointer) { C.wxFontInfo_Delete(p) }) return f }
func NewFontInfoPointSize(pointSize int) FontInfo { f := &fontInfo{} f.bindPtr(C.wxFontInfo_PointSize_New(C.int(pointSize)), func(p unsafe.Pointer) { C.wxFontInfo_Delete(p) }) return f }
func (f *fontInfo) Release() { C.wxFontInfo_Delete(f.ptr()) f.setPtr(nil) }