Fix search in wxSortedArrayString with custom compare function

This commit is contained in:
Pavel Tyunin
2021-02-25 21:23:33 +02:00
parent 752ba82041
commit 2451f8085b
3 changed files with 35 additions and 43 deletions

View File

@@ -398,6 +398,9 @@ private:
// (if the old buffer is big enough, just return NULL).
wxString *Grow(size_t nIncrement);
// Binary search in the sorted array
size_t BinarySearch(const wxString& str, bool equal = false) const;
size_t m_nSize, // current size of the array
m_nCount; // current number of elements