X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/37d403aa1cf182cfc01e2ce1753c2dda39ba82ea..9cf99fc093f9c45b6b5d8d8b357699d826c9916a:/src/gtk/settings.cpp?ds=inline 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)