mirror of
https://github.com/wxWidgets/wxWidgets.git
synced 2026-08-18 01:10:38 +08:00
After the changes of 55be0ed986 (Stop using GDK functions for parsing
colours names, 2024-12-16) we didn't find non-legacy named colours with
spaces in their names any longer, as we matched the name exactly (except
for the case) but the new colour names don't always use spaces.
Fix this by allowing to use spaces anywhere in the colour name and just
stripping all of them before looking the colour up.
Closes #26782.