Merge branch 'use-std-containers'

Remove avoidable uses of legacy container classes by replacing them with
the standard containers.

See #23440.
This commit is contained in:
Vadim Zeitlin 2023-04-17 17:02:27 +02:00
commit 7824391f64
126 changed files with 959 additions and 1222 deletions

View file

@ -100,6 +100,14 @@ Changes in behaviour which may result in build errors
- wxMotif and wxGTK1 ports have been removed, please use wxWidgets 3.2 if you
still need them.
- Several private container classes that never made part of wxWidgets public
API have been removed. If you used any of them (e.g. wxSimpleDataObjectList)
in your code, please switch to using std::vector<> or std::list<> instead.
Some other legacy "object array" classes (e.g. wxImageArray) still exist, but
are now similar to std::vector<> containing the objects -- they remain mostly
compatible with the previous wxWidgets versions, but now compare values, and
not pointers, in their Index() member function.
- Generic wxSearchCtrl doesn't provide methods that make sense only for
multiline text controls any longer, for consistency with the other ports.