Use the just added wxEventObjectOriginSetter to set the event object and ID to that of wxCompositeWindow itself, rather than that of the child window where the event had actually occurred.
Use the just added wxEventObjectOriginSetter to set the event object and ID to that of wxCompositeWindow itself, rather than that of the child window where the event had actually occurred.