I noticed a strange behvabiour of a DataViewCtrl on OSX 10.11, python3.7, wxpython 4.1.1a1. After notifying the DataViewModel that an item has been removed at some node, at all adjacent items the triangle symbol appears, indicating that the node is exapandable, which is not the case. This happens only when the DataViewCtrl has a single column. With two columns everything works as expected.
With the attached sample, click “Expand some” and then “Move”: item “three.element C” will be moved to “two”. Before move:
Now add a second column (“Add column”) and repeat the same.
I guess this is more a wxWidgets issue than a wxpython one. If you agree I will report it there as well.
osxbug.py (5.6 KB)