X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/37d403aa1cf182cfc01e2ce1753c2dda39ba82ea..87df17a11b0017d31c09f767bd921abb27193bee:/src/gtk1/settings.cpp?ds=sidebyside 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)