func NewControl(parent Window, id int, pos *Point, size *Size, style int, validator Validator, name string) Control { return globalObjectTable.bindObject(C.wxControl_New(parent.ptr(), C.int(id), (*C.Point)(pos), (*C.Size)(size), C.long(style), validator.ptr(), cString(&name)), true).(Control) }
func New_Control(parent Window, id int, pos *Point, size *Size, style int, validator Validator, name string) Control { c := &control{} c.bindWxPtr(C.wxControl_New(parent.wxPtr(), C.int(id), (*C.Point)(pos), (*C.Size)(size), C.long(style), validator.wxPtr(), cString(&name)), true) return c }