Files
wxWidgets/interface
Vadim Zeitlin 107ff30b47 Make wxListCtrl::CheckItem() event generation consistent
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).
2026-10-04 15:41:02 +02:00
..