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