KeyWorksRW / wxUiEditor

RAD tool used to create and maintain wxWidgets UI elements.
Apache License 2.0
64 stars 7 forks source link

Bug: wxUiEditor crashes on foreground or background colour changing #1407

Closed rossanoparis closed 7 months ago

rossanoparis commented 8 months ago

Description:

wxUiEditor version: 1.2.0.1 (Daily build 9 Feb)

The crash reported by the video below occurs for each widgets, not only for wxTextCtrl, every time you need to change foreground or background colours.

crash

KeyWorksRW commented 7 months ago

The crash is in the dtor for AutoSystemDpiAware so this is a regression in the wxWidgets 3.3 code I just picked up in order to work on integration of lunasvg into wxWidgets. I'll track this down and fix it in the wxWidgets code and get a PR there submitted, then copy the fix here to get the daily builds working again.

KeyWorksRW commented 7 months ago

Heh, turns out it was already discovered and fixed. I picked up the fix, and I think it got picked up before the daily builds start, so it should be in the 2/12 daily build. I'll check it myself in the morning, and close this if it's fixed.

rossanoparis commented 7 months ago

Thank you @KeyWorksRW it works

KeyWorksRW commented 7 months ago

Glad you spotted it -- I would have picked up the fix after lunasvg gets merged into wxWidgets, but that's probably not going to happen for a couple of weeks.