Fix some frackups .

This commit is contained in:
HomeWorld
2010-10-25 17:19:26 +03:00
parent 4c30a1a7a0
commit 5a73ddede8

View File

@@ -124,7 +124,9 @@ class ListPane (wx.ScrolledWindow):
for widget in self._wList:
self.RemoveChild(widget)
widget.Hide()
widget.Destroy()
widget.Close()
self._wCount = 0
self._wList = []
class CategoryItem(wx.Window):
def __init__(self, parent, categoryID, shipFittingInfo,