Declare array explicitly as a wxVector instead of using wxArrayPGProperty alias
This commit is contained in:
@@ -2160,7 +2160,7 @@ int wxPropertyGrid::DoDrawItems( wxDC& dc,
|
|||||||
|
|
||||||
//
|
//
|
||||||
// Pre-generate list of visible properties.
|
// Pre-generate list of visible properties.
|
||||||
wxArrayPGProperty visPropArray;
|
wxVector<wxPGProperty*> visPropArray;
|
||||||
visPropArray.reserve((m_height/m_lineHeight)+6);
|
visPropArray.reserve((m_height/m_lineHeight)+6);
|
||||||
|
|
||||||
for ( ; !it.AtEnd(); it.Next() )
|
for ( ; !it.AtEnd(); it.Next() )
|
||||||
|
Reference in New Issue
Block a user