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:
parent
4cbe0dd816
commit
c5512cab0f
@ -145,7 +145,7 @@ argument, using which you can refer to properties either by their pointer
|
|||||||
|
|
||||||
@code
|
@code
|
||||||
// Add a file selector property.
|
// Add a file selector property.
|
||||||
wxPGPropety* prop = pg->Append( new wxFileProperty("FileProperty",
|
wxPGProperty* prop = pg->Append( new wxFileProperty("FileProperty",
|
||||||
wxPG_LABEL,
|
wxPG_LABEL,
|
||||||
wxEmptyString) );
|
wxEmptyString) );
|
||||||
|
|
||||||
@ -578,7 +578,7 @@ iterator is limited to forward iteration.
|
|||||||
|
|
||||||
wxPGVIterator it;
|
wxPGVIterator it;
|
||||||
|
|
||||||
for ( it = manager->GetVIterator();
|
for ( it = manager->GetVIterator(wxPG_ITERATE_ALL);
|
||||||
!it.AtEnd();
|
!it.AtEnd();
|
||||||
it.Next() )
|
it.Next() )
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user