//// TODO: make wxColour a ref-counted object,
//// so pixel values get shared.
//// TODO: make wxColour a ref-counted object,
//// so pixel values get shared.
col.m_red = xcol.red & 0xff;
col.m_green = xcol.green & 0xff;
col.m_blue = xcol.blue & 0xff;
col.m_red = xcol.red & 0xff;
col.m_green = xcol.green & 0xff;
col.m_blue = xcol.blue & 0xff;