X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/37d403aa1cf182cfc01e2ce1753c2dda39ba82ea..d6ddcd574bce0167851aef142be1f9722c694654:/src/gtk/settings.cpp diff --git a/src/gtk/settings.cpp b/src/gtk/settings.cpp index 7e5bd7e7db..4aae2448f7 100644 --- a/src/gtk/settings.cpp +++ b/src/gtk/settings.cpp @@ -155,9 +155,9 @@ wxColour wxSystemSettings::GetSystemColour( int index ) { wxColour faceColour(GetSystemColour(wxSYS_COLOUR_3DFACE)); g_systemBtnShadowColour = - new wxColour(faceColour.Red() * 0.666, - faceColour.Green() * 0.666, - faceColour.Blue() * 0.666); + new wxColour((unsigned char) (faceColour.Red() * 0.666), + (unsigned char) (faceColour.Green() * 0.666), + (unsigned char) (faceColour.Blue() * 0.666)); } /* if (!g_systemBtnShadowColour)