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