@@ -37,7 +37,7 @@
#include "math/mMathFn.h"
-IMPLEMENT_CONOBJECT( SimSet );
+IMPLEMENT_CONOBJECT_CHILDREN( SimSet );
IMPLEMENT_CONOBJECT( SimGroup );
ConsoleDocClass( SimSet,
@@ -95,6 +95,7 @@ class SimSet : public SimObject, public TamlChildren
public:
typedef SimObject Parent;
+ typedef SimObject Children;
enum SetModification
{
@@ -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"
@@ -107,6 +107,7 @@ class GuiControl : public SimGroup
typedef SimGroup Parent;
+ typedef GuiControl Children;
friend class GuiWindowCtrl; // mCollapseGroupVec
friend class GuiCanvas;