Some changes in graphFrame, it doesnt look awesome, but it's nonetheless prettier than before

This commit is contained in:
HomeWorld
2010-11-15 19:26:28 +02:00
parent 97c2c51457
commit 4922d6c880
2 changed files with 5 additions and 4 deletions

View File

@@ -25,7 +25,7 @@ import sys
class Display(wx.ListCtrl):
def __init__(self, parent, style = 0):
wx.ListCtrl.__init__(self, parent, style=wx.LC_REPORT | wx.BORDER_NONE | style)
wx.ListCtrl.__init__(self, parent, style=wx.LC_REPORT | ( style | wx.BORDER_NONE if not (style & wx.SIMPLE_BORDER) else style) )
self.imageList = wx.ImageList(16, 16)
self.SetImageList(self.imageList, wx.IMAGE_LIST_SMALL)
self.activeColumns = []