Use more efficient storage for wxIntSortedArray

As this array contains ints, store them in wxVector<int> instead of
taking twice as much memory (in 64 bit builds) by storing them in
wxVector<void*>.
This commit is contained in:
Vadim Zeitlin
2020-05-26 16:34:02 +02:00
parent 92b6a55fd6
commit 340a86b3de

View File

@@ -40,7 +40,7 @@ int CompareInts(int n1, int n2)
} }
WX_DEFINE_SORTED_ARRAY(int, wxIntSortedArray); WX_DEFINE_SORTED_ARRAY_INT(int, wxIntSortedArray);
wxGridSelection::wxGridSelection( wxGrid * grid, wxGridSelection::wxGridSelection( wxGrid * grid,