Fix virtual call of Destroy() in wxDocChildFrameAny
Allow derived class override to be called. See #18694
This commit is contained in:
parent
3e7e7dd24c
commit
6240ecf153
@ -737,7 +737,7 @@ private:
|
||||
void OnCloseWindow(wxCloseEvent& event)
|
||||
{
|
||||
if ( CloseView(event) )
|
||||
BaseClass::Destroy();
|
||||
this->Destroy();
|
||||
//else: vetoed
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user