From f8ea4d61bc3e9d3f71a48815daa0292e8af954c4 Mon Sep 17 00:00:00 2001 From: orbitcowboy Date: Wed, 22 Mar 2017 09:55:07 +0100 Subject: [PATCH] wxEnumProperty: Fixed wrong variable name in Doxygen documentation. --- docs/doxygen/overviews/propgrid.h | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/docs/doxygen/overviews/propgrid.h b/docs/doxygen/overviews/propgrid.h index 97677f7f2d..fbca6a2edd 100644 --- a/docs/doxygen/overviews/propgrid.h +++ b/docs/doxygen/overviews/propgrid.h @@ -262,9 +262,9 @@ A very simple example: // Using wxArrayString // wxArrayString arrDiet; - arr.Add("Herbivore"); - arr.Add("Carnivore"); - arr.Add("Omnivore"); + arrDiet.Add("Herbivore"); + arrDiet.Add("Carnivore"); + arrDiet.Add("Omnivore"); pg->Append( new wxEnumProperty("Diet", wxPG_LABEL, @@ -290,9 +290,9 @@ Here's extended example using values as well: // Using wxArrayString and wxArrayInt // wxArrayString arrDiet; - arr.Add("Herbivore"); - arr.Add("Carnivore"); - arr.Add("Omnivore"); + arrDiet.Add("Herbivore"); + arrDiet.Add("Carnivore"); + arrDiet.Add("Omnivore"); wxArrayInt arrIds; arrIds.Add(40);