When closing menu or about dialog, the screen is flickering.
Analysis
After #2, a redraw of the user interface is performed each time an event of type EVT_ACTIVATE is received. The motivation for this was to "hide" the interface of the config editor (and latter of the location selector).
But an event of type EVT_HIDE is posted before the config editor (or location selector) is opened. Thus the redraw should happen only if an event of type EVT_HIDE was received previously.
Context
When closing menu or about dialog, the screen is flickering.
Analysis
After #2, a redraw of the user interface is performed each time an event of type
EVT_ACTIVATE
is received. The motivation for this was to "hide" the interface of the config editor (and latter of the location selector).But an event of type
EVT_HIDE
is posted before the config editor (or location selector) is opened. Thus the redraw should happen only if an event of typeEVT_HIDE
was received previously.