示例#1
0
文件: threadevent.go 项目: nzlov/wxgo
func newThreadEvent(eventType EventType, id int, hold bool) *threadEvent {
	return globalObjectTable.bindObject(C.wxThreadEvent_New2(C.int(eventType), C.int(id)), hold).(*threadEvent)
}
示例#2
0
func NewThreadEvent2(eventType EventType, id int) ThreadEvent {
	e := &threadEvent{}
	e.bindWxPtr(C.wxThreadEvent_New2(C.int(eventType), C.int(id)), true)
	return e
}