mirror of
https://github.com/wxWidgets/wxWidgets.git
synced 2026-10-06 07:00:16 +08:00
Previously, wxMSW native version only sent wxEVT_LIST_ITEM_[UN]CHECKED if the item state has really changed, while the generic version, used in wxGTK and wxOSX, did it unconditionally and wxQt native version never did it at all. Make all ports behave as wxMSW, which seems like the most useful behaviour and add a unit test checking that this behaves as expected. Note that virtual controls still always send the events in all ports, as they work as notifications for the model in their case, and a new test checks that this is the case in all ports (except wxQt which doesn't support them).