UltimateListCtrl not displaying all rows initially

I hope someone can help me. I’ve been struggling with this problem for some time.

I am using the Document/View Framework to create a simple editor in wxPython. I want to use the UltimateListCtrl in the editor so that I can display a list with checkboxes and buttons. The problem that I am having is that when the list is initially rendered only the first three rows are displayed. The remaining rows appear as soon as I click on one of the column headers. I have not been able to make all the rows visible without clicking on the list headers. Please help!

The attached code demonstrates the issue. On Line 67 in the file, USE_ULC can be set to False to use a ListCtrl instead. The problem does NOT occur with ListCtrl, but I cannot use that because I need to have checkboxes and buttons in the displayed list.

Platform: Windows 7 64-bit

Python: 2.7.5 64-bit

wxPython: 2.8.12.1 (msw-unicode)

Thanks,

Dennis

docview_test.py (5.12 KB)

As an update, the problem also does not manifest itself if I do not populate the second column.

Dennis