Rename ValidationTraverserBase::DoForAllChildren to DoForSelfAndChildren
This commit is contained in:
@@ -2031,7 +2031,7 @@ public:
|
||||
|
||||
// Traverse all the direct children calling OnDo() on them and also all
|
||||
// grandchildren, calling OnRecurse() for them.
|
||||
bool DoForAllChildren()
|
||||
bool DoForSelfAndChildren()
|
||||
{
|
||||
wxWindowList& children = m_win->GetChildren();
|
||||
for ( wxWindowList::iterator i = children.begin();
|
||||
@@ -2102,7 +2102,7 @@ bool wxWindowBase::Validate()
|
||||
}
|
||||
};
|
||||
|
||||
return ValidateTraverser(this).DoForAllChildren();
|
||||
return ValidateTraverser(this).DoForSelfAndChildren();
|
||||
#else // !wxUSE_VALIDATORS
|
||||
return true;
|
||||
#endif // wxUSE_VALIDATORS/!wxUSE_VALIDATORS
|
||||
@@ -2140,7 +2140,7 @@ bool wxWindowBase::TransferDataToWindow()
|
||||
}
|
||||
};
|
||||
|
||||
return DataToWindowTraverser(this).DoForAllChildren();
|
||||
return DataToWindowTraverser(this).DoForSelfAndChildren();
|
||||
#else // !wxUSE_VALIDATORS
|
||||
return true;
|
||||
#endif // wxUSE_VALIDATORS/!wxUSE_VALIDATORS
|
||||
@@ -2168,7 +2168,7 @@ bool wxWindowBase::TransferDataFromWindow()
|
||||
}
|
||||
};
|
||||
|
||||
return DataFromWindowTraverser(this).DoForAllChildren();
|
||||
return DataFromWindowTraverser(this).DoForSelfAndChildren();
|
||||
#else // !wxUSE_VALIDATORS
|
||||
return true;
|
||||
#endif // wxUSE_VALIDATORS/!wxUSE_VALIDATORS
|
||||
|
Reference in New Issue
Block a user