What’s a use-case for wx.Event.SetRefData()?
I do use custom events for “custom” controls. I have used SetEventObject(), SetId() and SetTimestamp() with success. Obviously custom events let the programmer set keyword arguments as well and using that aspect of wx.Event is no biggy.
Although I get an exception and then a crash if I use SetEventType() I can guess there are sketchy use-cases for having event handlers check against event types (say in logging or debugging).
But I haven’t come across any documents regarding or examples of using wx.Event.SetRefData().
I guess a simple code example of how to use it would be useful.
Anyone have info on this?