func (h *evtHandler) QueueEvent(event Event) { p := wxPtr(h) if p == nil { return } event.unhold() C.wxEvtHandler_QueueEvent(p, C.WxObjectPtr(wxPtr(event))) }
func (h *evtHandler) QueueEvent(event Event) { p := ptr(h) if p == nil { return } globalObjectTable.unhold(event) C.wxEvtHandler_QueueEvent(p, C.WxObjectPtr(ptr(event))) }