From 6dc93688252b74c0c04a8ef00dcd08ccf23aae9e Mon Sep 17 00:00:00 2001 From: Vadim Zeitlin Date: Thu, 31 Oct 2013 16:03:09 +0000 Subject: [PATCH] Fix light magenta definition in the colour database. Make it different from magenta itself, otherwise a colour constructed from "magenta" string was returning "light magenta" as its name. The exact value of this colour is not well-defined, another commonly used one seems to be 0xff80ff, but in a lot of places it is used as a synonym for fuchsia pink which is pretty unambiguously 0xff77ff. Closes #15628. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_3_0_BRANCH@75112 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- src/common/gdicmn.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/common/gdicmn.cpp b/src/common/gdicmn.cpp index 2928d1dd80..4938977b10 100644 --- a/src/common/gdicmn.cpp +++ b/src/common/gdicmn.cpp @@ -333,7 +333,7 @@ void wxColourDatabase::Initialize() {wxT("LIGHT GREY"), 192, 192, 192}, {wxT("LIGHT STEEL BLUE"), 143, 143, 188}, {wxT("LIME GREEN"), 50, 204, 50}, - {wxT("LIGHT MAGENTA"), 255, 0, 255}, + {wxT("LIGHT MAGENTA"), 255, 119, 255}, {wxT("MAGENTA"), 255, 0, 255}, {wxT("MAROON"), 142, 35, 107}, {wxT("MEDIUM AQUAMARINE"), 50, 204, 153},