wxList replaced with std::vector for drawing lines and splines.