| 75 | } |
| 76 | |
| 77 | void Data::removeChild(Data* _child) |
| 78 | { |
| 79 | MYGUI_ASSERT(_child->getParent() == this, "Child not found"); |
| 80 | |
| 81 | mChilds.erase(std::remove(mChilds.begin(), mChilds.end(), _child), mChilds.end()); |
| 82 | _child->mParent = nullptr; |
| 83 | } |
| 84 | |
| 85 | const std::string& Data::getPropertyValue(std::string_view _name) const |
| 86 | { |