From 12a755acf854be699e17b6bea36bfdc35b5e3c5e Mon Sep 17 00:00:00 2001 From: Artur Wieczorek Date: Fri, 12 Oct 2018 22:07:01 +0200 Subject: [PATCH] Declare array explicitly as a wxVector instead of using wxArrayPGProperty alias --- src/propgrid/propgrid.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/propgrid/propgrid.cpp b/src/propgrid/propgrid.cpp index 0c00b79ee1..7bdc51d985 100644 --- a/src/propgrid/propgrid.cpp +++ b/src/propgrid/propgrid.cpp @@ -2160,7 +2160,7 @@ int wxPropertyGrid::DoDrawItems( wxDC& dc, // // Pre-generate list of visible properties. - wxArrayPGProperty visPropArray; + wxVector visPropArray; visPropArray.reserve((m_height/m_lineHeight)+6); for ( ; !it.AtEnd(); it.Next() )