Attempting to change the style or alignment of the static text in the widgets sample made the sample crash. The bug cause was the same as in 7c125d3 (Fix crash on spin page of widgets sample, 2024-04-18), i.e., a8b4753 (Reconnect events to the widget after recreating it in the sample, 2024-02-19).
Fix the issue by calling NotifyWidgetRecreation() for each control only after they were all recreated.
Closes #24656.
https://github.com/wxWidgets/wxWidgets/pull/24660
(1 file)
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you are subscribed to this thread.
Thanks for fixing this, I didn't have time to think about better solution (or even why is this one not the best), but I'll merge this already to fix a crash for now.
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you are subscribed to this thread.
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you are subscribed to this thread.