Small fix that prevents flickering of fitting view scrollbars when those are present - happens on msw

This commit is contained in:
HomeWorld
2010-09-12 14:16:57 +03:00
parent 9706a6c6b1
commit e0eecd1d18

View File

@@ -83,6 +83,9 @@ class Display(wx.ListCtrl):
def populate(self, stuff):
selection = []
self.Freeze()
sel = self.GetFirstSelected()
while sel != -1:
selection.append(sel)
@@ -108,6 +111,8 @@ class Display(wx.ListCtrl):
for sel in selection:
self.Select(sel)
self.Thaw()
def getColumn(self, point):
x = point[0]
total = 0