wxListCtrl Row Highlight

Mark Guagenti wrote:

If you run my example as shown when you switch to report view and you click on a column (not header) it will not choose the item and highlight the whole row. If you start the example in report view and you do the same test it will highlight the whole row.

Any ideas on why this is happening?

Essentially the only thing that SetSingleStyle does on MSW is change the style of the native widget, but perhaps there is some native style that needs to be cleared or set to fully match the default in the wx.LC_REPORT case. Please enter a bug report about this with a category of "wxMSW Specific". In the meantime you can work around this by destroying and recreating your wx.ListCtrl with different styles.

BTW, you should not create columns if you are not going to be in report mode. The other platforms do not like that.

ยทยทยท

--
Robin Dunn
Software Craftsman
http://wxPython.org Java give you jitters? Relax with wxPython!