Do not take in account doRefresh

This commit is contained in:
HomeWorld
2010-10-31 15:55:32 +02:00
parent 5ea28ac936
commit 6f1bfeb140

View File

@@ -807,7 +807,7 @@ class ListPane (wx.ScrolledWindow):
self.SetVirtualSize((1, maxy))
cwidth, cheight = self.GetVirtualSize()
if selected and doRefresh:
if selected:
self.ScrollChildIntoView(selected)
clientW,clientH = self.GetSize()