From afbca9e1df20a025b7f6f8a1b6f0ab15dc4ee023 Mon Sep 17 00:00:00 2001 From: ali kettab Date: Mon, 15 Feb 2021 15:28:28 +0100 Subject: [PATCH] Rename ValidationTraverserBase::DoForAllChildren to DoForSelfAndChildren --- src/common/wincmn.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/common/wincmn.cpp b/src/common/wincmn.cpp index 2bfb862f74..b949bbfebc 100644 --- a/src/common/wincmn.cpp +++ b/src/common/wincmn.cpp @@ -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