Use "col" for the "wxColour" variable to avoid clash with "c" one used for the corner index. Also just construct the colour directly from the RGB values instead of default-initializing it and then using Set(), which also allows to make it "const".
Use "col" for the "wxColour" variable to avoid clash with "c" one used for the corner index. Also just construct the colour directly from the RGB values instead of default-initializing it and then using Set(), which also allows to make it "const".