Don't use unclear ValArrItem typedef in wxPGChoices documentation

All the other methods use just "long", so use it in Add() documentation
as well instead of the rather cryptic ValArrItem.
This commit is contained in:
Vadim Zeitlin
2018-09-29 16:59:32 +02:00
parent 8bb5cb1d6e
commit d2e072db3c

View File

@@ -2529,7 +2529,7 @@ public:
Values for added choices. If empty, relevant entry indexes are Values for added choices. If empty, relevant entry indexes are
used. Otherwise must have at least the same size as @a labels. used. Otherwise must have at least the same size as @a labels.
*/ */
void Add( const wxChar** labels, const ValArrItem* values = NULL ); void Add( const wxChar** labels, const long* values = NULL );
/** /**
Adds to current. Version that works with wxArrayString and wxArrayInt. Adds to current. Version that works with wxArrayString and wxArrayInt.