Remove unneeded override of Destroy() after d456d2d6
This commit is contained in:
parent
d456d2d60e
commit
df1254dfbf
@ -720,11 +720,6 @@ public:
|
|||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
virtual bool Destroy() wxOVERRIDE
|
|
||||||
{
|
|
||||||
return BaseClass::Destroy();
|
|
||||||
}
|
|
||||||
|
|
||||||
protected:
|
protected:
|
||||||
// hook the child view into event handlers chain here
|
// hook the child view into event handlers chain here
|
||||||
virtual bool TryBefore(wxEvent& event) wxOVERRIDE
|
virtual bool TryBefore(wxEvent& event) wxOVERRIDE
|
||||||
@ -744,7 +739,7 @@ private:
|
|||||||
void OnCloseWindow(wxCloseEvent& event)
|
void OnCloseWindow(wxCloseEvent& event)
|
||||||
{
|
{
|
||||||
if ( CloseView(event) )
|
if ( CloseView(event) )
|
||||||
Destroy();
|
BaseClass::Destroy();
|
||||||
//else: vetoed
|
//else: vetoed
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user