Exemple #1
0
func NewFrameFull(parent Window, id int, title string, pos *Point, size *Size, style int, name string) Frame {
	return globalObjectTable.bindObject(C.wxFrame_New(ptr(parent), C.int(id), cString(&title), (*C.Point)(pos), (*C.Size)(size), C.long(style), cString(&name)), holdIfParentNil(parent)).(Frame)
}
Exemple #2
0
func NewFrame(parent Window, id int, title string) Frame {
	f := &frame{}
	f.bindWxPtr(C.wxFrame_New(wxPtr(parent), C.int(id), cString(&title)), true)
	return f
}