From 4eb259b05c6e8ae334ff8b5e1e4898d97bde1f36 Mon Sep 17 00:00:00 2001 From: cncfanatics Date: Mon, 16 Aug 2010 11:51:36 +0200 Subject: [PATCH] Add LC_REPORT to the listctrl style --- gui/marketBrowser.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/gui/marketBrowser.py b/gui/marketBrowser.py index 238056ffc..67dd5d6b5 100644 --- a/gui/marketBrowser.py +++ b/gui/marketBrowser.py @@ -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, "")