| @@ -689,6 +689,11 @@ public: | |||||
| This is the same as calling setVisible (true) on the child and then addChildComponent(). | This is the same as calling setVisible (true) on the child and then addChildComponent(). | ||||
| See addChildComponent() for more details. | See addChildComponent() for more details. | ||||
| @param child the new component to add. If the component passed-in is already | |||||
| the child of another component, it'll first be removed from it current parent. | |||||
| @param zOrder The index in the child-list at which this component should be inserted. | |||||
| A value of -1 will insert it in front of the others, 0 is the back. | |||||
| */ | */ | ||||
| void addAndMakeVisible (Component* child, int zOrder = -1); | void addAndMakeVisible (Component* child, int zOrder = -1); | ||||
| @@ -696,6 +701,11 @@ public: | |||||
| This is the same as calling setVisible (true) on the child and then addChildComponent(). | This is the same as calling setVisible (true) on the child and then addChildComponent(). | ||||
| See addChildComponent() for more details. | See addChildComponent() for more details. | ||||
| @param child the new component to add. If the component passed-in is already | |||||
| the child of another component, it'll first be removed from it current parent. | |||||
| @param zOrder The index in the child-list at which this component should be inserted. | |||||
| A value of -1 will insert it in front of the others, 0 is the back. | |||||
| */ | */ | ||||
| void addAndMakeVisible (Component& child, int zOrder = -1); | void addAndMakeVisible (Component& child, int zOrder = -1); | ||||