예제 #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
}