Fixed a focus issue in shipbrowser (scrolling using mouse wheel wasn't possible unless the scrollbar or an item was clicked)

This commit is contained in:
HomeWorld
2011-01-16 18:50:54 +02:00
parent 3c8cf23ff2
commit 9252e579e1

View File

@@ -151,6 +151,8 @@ class PFListPane(wx.ScrolledWindow):
if itemY >=-iheight and itemY< clientH:
self._wList[i].Refresh()
self.SetFocus()
def RemoveWidget(self, child):
child.Destroy()
self._wList.remove(child)