Fixed some warnings (don't know why dialoged Makefile is being committed)

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@9312 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Julian Smart
2001-02-06 14:23:44 +00:00
parent ae128b358e
commit 7a5e62674f
9 changed files with 40 additions and 20 deletions

View 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)