P&S router: length tuning tool: fix a crash after trying to tune a track.
It happens on Windows, and wxWidgets 3.1.3. It is created by PNS_TUNE_STATUS_POPUP instance used in tool. I am pretty sure this crash is created by the stack switching when managing events, due to some changes in wxWidgets code. The fix creates the instance on the heap, instead of on the stack. This is not the first time I see this kind of issue. From master, commit 21dd8db7
Showing with 14 additions and 10 deletions