Add type of Children in SimGroup and GuiControl

This commit is contained in:
Lukas Aldershaab 2020-10-18 02:25:44 +02:00
parent 55f459cf2d
commit 763c205451
4 changed files with 4 additions and 2 deletions

View file

@ -44,7 +44,7 @@
//#define DEBUG_SPEW
IMPLEMENT_CONOBJECT( GuiControl );
IMPLEMENT_CONOBJECT_CHILDREN( GuiControl );
ConsoleDocClass( GuiControl,
"@brief Base class for all Gui control objects.\n\n"

View file

@ -107,6 +107,7 @@ class GuiControl : public SimGroup
public:
typedef SimGroup Parent;
typedef GuiControl Children;
friend class GuiWindowCtrl; // mCollapseGroupVec
friend class GuiCanvas;