From 340a86b3de8003a27a3e8eac8c80b3318f3c27da Mon Sep 17 00:00:00 2001 From: Vadim Zeitlin Date: Tue, 26 May 2020 16:34:02 +0200 Subject: [PATCH] Use more efficient storage for wxIntSortedArray As this array contains ints, store them in wxVector instead of taking twice as much memory (in 64 bit builds) by storing them in wxVector. --- src/generic/gridsel.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/generic/gridsel.cpp b/src/generic/gridsel.cpp index 55de239323..836ac1c7aa 100644 --- a/src/generic/gridsel.cpp +++ b/src/generic/gridsel.cpp @@ -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,