Needing a single-selection cell-renderer-supporting list control, I've written one using wx.Grid.
A sample that illustrates the problems I've run into is attached. It supports color and word wrapping with automatic row and column sizing.
BUT, as I believe my sample demonstrates, wx.Grid's IsVisible and MakeCellVisible methods have problems.
What can you all tell me? Is a bug report in the offing, or am I missing something here?
Bob
P.S. In the interim, I've written a MakeCellVisible override that is working reasonably well for me, using GetParent().GetClientSize() along with GetScrollPixelsPerUnit, GetTextExtent, CellToRect, and Scroll.
ListCtrlGrid.py (4.42 KB)