Closed leamas closed 2 months ago
The code handling the icons in icons.h and icons.cpp needs a clean up. In particular, using static variables like
extern wxString _svg_shipdriver; extern wxString _svg_shipdriver_toggled;
to carry state is a bad idea since it opens for all sorts of problems related to execute paths ordering.
We need to clean this up.
The code handling the icons in icons.h and icons.cpp needs a clean up. In particular, using static variables like
to carry state is a bad idea since it opens for all sorts of problems related to execute paths ordering.
We need to clean this up.