From 00603c618bdf59283d9fb6d0522d43c62339fbec Mon Sep 17 00:00:00 2001 From: Vadim Zeitlin Date: Sun, 16 Nov 2014 21:20:34 +0000 Subject: [PATCH] Fix wxConfig enumeration example in the documentation. Don't use undefined GetConfig() function. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@78153 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- interface/wx/config.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/interface/wx/config.h b/interface/wx/config.h index e7fcdf2066..413bfa9b49 100644 --- a/interface/wx/config.h +++ b/interface/wx/config.h @@ -211,17 +211,17 @@ enum while ( bCont ) { aNames.Add(str); - bCont = GetConfig()->GetNextEntry(str, dummy); + bCont = config->GetNextEntry(str, dummy); } // ... we have all entry names in aNames... // now all groups... - bCont = GetConfig()->GetFirstGroup(str, dummy); + bCont = config->GetFirstGroup(str, dummy); while ( bCont ) { aNames.Add(str); - bCont = GetConfig()->GetNextGroup(str, dummy); + bCont = config->GetNextGroup(str, dummy); } // ... we have all group (and entry) names in aNames...