Dont mangle border style in Display class, change it where needed

This commit is contained in:
HomeWorld
2010-12-03 14:35:37 +02:00
parent afb4e40e4b
commit 0b5243dc62
6 changed files with 6 additions and 6 deletions

View File

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