Fixed a typo from the last commit, fixed one compilation warning.

This commit is contained in:
bubnikv 2019-01-09 16:05:36 +01:00
parent c258375fe2
commit 0222492e29
2 changed files with 2 additions and 2 deletions

View file

@ -329,7 +329,7 @@ public:
{
if (GetChildCount() == 0)
return;
for (size_t id = GetChildCount() - 1; id >= 0; --id)
for (int id = int(GetChildCount()) - 1; id >= 0; --id)
{
if (m_children.Item(id)->GetChildCount() > 0)
m_children[id]->RemoveAllChildren();