…e wxListCtrl.
Since the wxEVT_LIST_ITEM_SELECTED event is not generated in the other ports when the wxListCtrl is shown for the first time, do not generate it under wxQt for consistency.
The artprov sample would assert here:
because m_client were not initialized yet when this handler is executed:
https://github.com/wxWidgets/wxWidgets/blob/4e4159836df134eb87d84e800ca11f45ed8e7d5e/samples/artprov/artbrows.cpp#L241-L246
Initializing m_client before calling SetItemState() here
https://github.com/wxWidgets/wxWidgets/blob/4e4159836df134eb87d84e800ca11f45ed8e7d5e/samples/artprov/artbrows.cpp#L232-L236
fixes the problem, but will just hide the inconsistency of wxQt with the other ports.
https://github.com/wxWidgets/wxWidgets/pull/26194
(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, will merge soon.
—
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.![]()