]> git.saurik.com Git - wxWidgets.git/blobdiff - src/gtk1/settings.cpp
AddBook ignores wxMac paths (still won't work)
[wxWidgets.git] / src / gtk1 / settings.cpp
index 7e5bd7e7db57bc721c0902ebbee9af631b123cb3..4aae2448f713da73d841bff3c8d3d43a1cd1f737 100644 (file)
@@ -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)