]> git.saurik.com Git - wxWidgets.git/blobdiff - src/common/gbsizer.cpp
fixing overrelease and out-of-bounds write, fixes #13725
[wxWidgets.git] / src / common / gbsizer.cpp
index d9451c098327d6d1885935e8548417b650392af7..773c0f0ebc8ed1153f4f7a0781f5beab584e87fe 100644 (file)
@@ -471,7 +471,7 @@ wxSize wxGridBagSizer::CalcMin()
             item->GetPos(row, col);
             item->GetEndPos(endrow, endcol);
 
-            // fill heights and widths upto this item if needed
+            // fill heights and widths up to this item if needed
             while ( (int)m_rowHeights.GetCount() <= endrow )
                 m_rowHeights.Add(m_emptyCellSize.GetHeight());
             while ( (int)m_colWidths.GetCount() <= endcol )