This is an old revision of the document!
ScrollObject* MyScrollObject::GetChildByName(const orxSTRING childName) { for (ScrollObject *child = this->GetOwnedChild(); child; child = child->GetOwnedSibling()) { if (orxString_Compare(child->GetModelName(), childName) == 0) { return child; } } return orxNULL; }