Don't stop wxWindowDestroyEvent processing in wxAuiManager

The existing code prevented the other handlers from processing this even
for no good reason, so don't do it any more.

Closes #23811.

Closes #23815.
This commit is contained in:
Martin Corino 2023-08-25 09:09:45 +02:00 committed by Vadim Zeitlin
parent d30649c381
commit cd8a854dce

View file

@ -3964,10 +3964,9 @@ void wxAuiManager::OnDestroy(wxWindowDestroyEvent& event)
if ( frame )
frame->ProcessWindowEventLocally(event);
}
else
{
event.Skip();
}
// Make sure this event get's propagated to other handlers.
event.Skip();
}
void wxAuiManager::OnPaint(wxPaintEvent& WXUNUSED(event))