Minor fixes to code examples in wxPropertyGrid documentation.

Fix typo in wxPGProperty name and add missing parameter of GetVIterator()
call.

Closes #13486.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@69149 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin 2011-09-18 20:28:37 +00:00
parent 4cbe0dd816
commit c5512cab0f

View File

@ -145,7 +145,7 @@ argument, using which you can refer to properties either by their pointer
@code
// Add a file selector property.
wxPGPropety* prop = pg->Append( new wxFileProperty("FileProperty",
wxPGProperty* prop = pg->Append( new wxFileProperty("FileProperty",
wxPG_LABEL,
wxEmptyString) );
@ -578,7 +578,7 @@ iterator is limited to forward iteration.
wxPGVIterator it;
for ( it = manager->GetVIterator();
for ( it = manager->GetVIterator(wxPG_ITERATE_ALL);
!it.AtEnd();
it.Next() )
{