HomeWildfire Games

Delete empty IGUIObject::Destroy function and MEGA TODO from rP74, rP141.

Description

Delete empty IGUIObject::Destroy function and MEGA TODO from rP74, rP141.

None of the GUI object types implemented in the past two decades owns children, only the CGUI page.

Differential Revision: https://code.wildfiregames.com/D2311
Tested on: clang 8.0.1, Jenkins

Event Timeline

None of the GUI object types implemented in the past two decades owns children, only the CGUI page.

Correction:

None of the GUI object types implemented in the past two decades owns children other than in m_Children, which are tracked in the map in CGUI.

In particular no GUI object type had members children (other than in IGUIObject m_Children).

/ps/trunk/source/gui/IGUIObject.h
464

This comment should have been removed as well.
All objects including the ones pointed at here will be deleted in the CGUI destructor.
(Also all objects are created when the CGUI page is created and live until its destructor)