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:
parent
d30649c381
commit
cd8a854dce
1 changed files with 3 additions and 4 deletions
|
|
@ -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))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue