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
This commit is contained in:
Vadim Zeitlin
2014-11-16 21:20:34 +00:00
parent 86aa298f22
commit 00603c618b

View File

@@ -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...