mirror of
https://github.com/wxWidgets/wxWidgets.git
synced 2026-09-29 10:25:27 +08:00
Allow reverting to using the traditional values for the conflicting colours by calling UseScheme(Traditional) if really needed. This is another attempt for changing wxColourDatabase to use more standard colour values, after the previous attempt inbb131fdbc5(updated colour definitions to the new official X version (patch 771272), 2003-07-17) which was reverted almost immediately after in5e2ab1ea5d(reverted the last change (colour values changes), it cerated too many problems, 2003-07-19), see #6031. Unlike the previous ones, it provides an escape hatch in the form of UseScheme() and also leaves traditional wx colour names not clashing with CSS ones still available. Also update the "drawing" sample to allow showing both colour schemes, and extend its view port to fit all the colour names vertically. See #23518.