Remove unneeded override of Destroy() after d456d2d6

This commit is contained in:
Paul Cornett 2017-08-23 23:27:25 -07:00
parent d456d2d60e
commit df1254dfbf

View File

@ -720,11 +720,6 @@ public:
return true;
}
virtual bool Destroy() wxOVERRIDE
{
return BaseClass::Destroy();
}
protected:
// hook the child view into event handlers chain here
virtual bool TryBefore(wxEvent& event) wxOVERRIDE
@ -744,7 +739,7 @@ private:
void OnCloseWindow(wxCloseEvent& event)
{
if ( CloseView(event) )
Destroy();
BaseClass::Destroy();
//else: vetoed
}