Fix virtual call of Destroy() in wxDocChildFrameAny

Allow derived class override to be called.
See #18694
This commit is contained in:
Paul Cornett 2020-04-02 09:03:35 -07:00
parent 3e7e7dd24c
commit 6240ecf153

View File

@ -737,7 +737,7 @@ private:
void OnCloseWindow(wxCloseEvent& event)
{
if ( CloseView(event) )
BaseClass::Destroy();
this->Destroy();
//else: vetoed
}