func newThreadEvent(eventType EventType, id int, hold bool) *threadEvent { return globalObjectTable.bindObject(C.wxThreadEvent_New2(C.int(eventType), C.int(id)), hold).(*threadEvent) }
func NewThreadEvent2(eventType EventType, id int) ThreadEvent { e := &threadEvent{} e.bindWxPtr(C.wxThreadEvent_New2(C.int(eventType), C.int(id)), true) return e }