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:
@@ -211,17 +211,17 @@ enum
|
|||||||
while ( bCont ) {
|
while ( bCont ) {
|
||||||
aNames.Add(str);
|
aNames.Add(str);
|
||||||
|
|
||||||
bCont = GetConfig()->GetNextEntry(str, dummy);
|
bCont = config->GetNextEntry(str, dummy);
|
||||||
}
|
}
|
||||||
|
|
||||||
// ... we have all entry names in aNames...
|
// ... we have all entry names in aNames...
|
||||||
|
|
||||||
// now all groups...
|
// now all groups...
|
||||||
bCont = GetConfig()->GetFirstGroup(str, dummy);
|
bCont = config->GetFirstGroup(str, dummy);
|
||||||
while ( bCont ) {
|
while ( bCont ) {
|
||||||
aNames.Add(str);
|
aNames.Add(str);
|
||||||
|
|
||||||
bCont = GetConfig()->GetNextGroup(str, dummy);
|
bCont = config->GetNextGroup(str, dummy);
|
||||||
}
|
}
|
||||||
|
|
||||||
// ... we have all group (and entry) names in aNames...
|
// ... we have all group (and entry) names in aNames...
|
||||||
|
Reference in New Issue
Block a user