Revert "Seperate out each ship view in a seperate stage"

This reverts commit 0fae9817ee.
This commit is contained in:
cncfanatics
2010-10-12 16:04:06 +02:00
parent 0fae9817ee
commit 99527b404b

View File

@@ -35,18 +35,7 @@ class ShipBrowser(wx.Panel):
return fitID
class ShipView(wx.Panel):
def __init__(self, parent):
wx.Panel.__init__(self, parent)
headSizer = wx.BoxSizer(wx.VERTICAL)
self.SetSizer(headSizer)
self.stage1 = Stage1(self)
headSizer.Add(self.stage1)
self.currentStage = 1
class Stage1(wx.ListCtrl):
class ShipView(wx.ListCtrl):
def __init__(self, parent):
wx.ListCtrl.__init__(self, parent, style=wx.LC_ICON | wx.LC_AUTOARRANGE | wx.LC_SINGLE_SEL | wx.LC_EDIT_LABELS)
self.rename = False
@@ -62,9 +51,6 @@ class Stage1(wx.ListCtrl):
index = self.InsertImageStringItem(sys.maxint, name, iconId)
self.SetItemData(index, id)
class Stage2(wx.ListCtrl):
pass
class ShipMenu(wx.Panel):
def __init__(self, parent):
wx.Panel.__init__(self, parent)