Closed flyx closed 4 years ago
RegisterEvents() allows multiple events to be registered. They are numbered starting at and going beyond USEREVENT. Therefore, the cast back to Go types ought to cast everything beyond USEREVENT to a Go UserEvent.
This is quite a bug! Thanks for the fix @flyx!
RegisterEvents() allows multiple events to be registered. They are numbered starting at and going beyond USEREVENT. Therefore, the cast back to Go types ought to cast everything beyond USEREVENT to a Go UserEvent.