Declare array explicitly as a wxVector instead of using wxArrayPGProperty alias

This commit is contained in:
Artur Wieczorek 2018-10-12 22:07:01 +02:00
parent 76f9d6baa9
commit 12a755acf8

View File

@ -2160,7 +2160,7 @@ int wxPropertyGrid::DoDrawItems( wxDC& dc,
//
// Pre-generate list of visible properties.
wxArrayPGProperty visPropArray;
wxVector<wxPGProperty*> visPropArray;
visPropArray.reserve((m_height/m_lineHeight)+6);
for ( ; !it.AtEnd(); it.Next() )