For check of the ComboBox enable state is better to use IsThisEnable() instead of IsEnable(), IsEnabled() == IsThisEnabled() && parent.IsEnabled(). As a result it is possible, that when TopLevelWindow is disabled at the moment of a control recreation, then ComboBox is recreated with disable state.
https://github.com/wxWidgets/wxWidgets/pull/23132
(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 the fix! I agree that this is the right thing to do and will merge it soon (and also backport to 3.2).
—
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.![]()