Add LC_REPORT to the listctrl style

This commit is contained in:
cncfanatics
2010-08-16 11:51:36 +02:00
parent 099b34a658
commit 4eb259b05c

View File

@@ -37,9 +37,8 @@ class MarketBrowser(wx.Panel):
treeStyle = self.marketView.GetWindowStyleFlag()
treeStyle |= wx.TR_HIDE_ROOT
self.marketView.SetWindowStyleFlag(treeStyle)
listStyle = self.itemView.GetWindowStyleFlag()
listStyle |= wx.LC_NO_HEADER | wx.LC_SINGLE_SEL | wx.LC_ICON
listStyle |= wx.LC_NO_HEADER | wx.LC_SINGLE_SEL | wx.LC_ICON | wx.LC_REPORT
self.itemView.SetWindowStyleFlag(listStyle)
self.itemView.InsertColumn(0, "")