mirror of
https://github.com/audacity/wxWidgets.git
synced 2025-12-10 21:09:32 -06:00
This ctor just created unusable wxTimerEvent objects (all of the methods specific to this class would just crash if called on them) and doesn't seem to be useful at all. It was added in e47859daebd15efcecb969e612295c868e944d79 apparently only in order to allow using wxIMPLEMENT_DYNAMIC_CLASS() instead of the previously used wxIMPLEMENT_ABSTRACT_CLASS() for wxTimerEvent, but there doesn't seem to be any reason to prefer macro over another, and there are good reasons to not allow creating objects in an invalid state. The only place where we relied on having default ctor for this event was in wxEvent::Clone() unit test, so update it to handle wxTimerEvent specially now that this ctor doesn't exist any longer.