Enable use of the standard container classes by default

This is mostly, even if not completely, compatible with the previous
default build using wxUSE_STD_CONTAINERS=0, so try enabling this by
default again. Hopefully it should work better now than the last time we
tried it, see 01871bf642 (Add wxUSE_STD_CONTAINERS and turn it on by
default., 2011-03-30) and the subsequent 7311debd0d (Don't use the
standard containers by default., 2011-05-13).

See #22718.
This commit is contained in:
Vadim Zeitlin 2023-04-10 16:06:04 +01:00
parent de1dca5ff1
commit e273d45c9b
9 changed files with 28 additions and 38 deletions

View file

@ -284,11 +284,11 @@
// Use standard C++ containers to implement all wx container classes.
//
// Default is 0 for compatibility reasons.
// Default is 1.
//
// Recommended setting: 1 unless compatibility with the official wxWidgets
// build and/or the existing code is a concern.
#define wxUSE_STD_CONTAINERS 0
// Recommended setting: 1 unless you really need to set it to 0 to preserve
// compatibility with the existing code.
#define wxUSE_STD_CONTAINERS 1
// Use standard C++ streams if 1 instead of wx streams in some places. If
// disabled, wx streams are used instead.