X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/37d403aa1cf182cfc01e2ce1753c2dda39ba82ea..622be94c78deeae8490d9783c11a24c599ae1464:/src/gtk1/settings.cpp diff --git a/src/gtk1/settings.cpp b/src/gtk1/settings.cpp index 7e5bd7e7db..4aae2448f7 100644 --- a/src/gtk1/settings.cpp +++ b/src/gtk1/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)