We still don't use STL algorithms and such in core wx code, as they're unfortunately still not available on all platforms we support, so it would be better to use manual loop instead of `std::transform`.