Fix the bug where one needed two clicks to select market/ship browser

This commit is contained in:
cncfanatics
2010-08-28 20:46:53 +02:00
parent b2a44ccac2
commit a1490a4f09
3 changed files with 16 additions and 8 deletions

View File

@@ -11,8 +11,9 @@ FitSelected, EVT_FIT_SELECTED = wx.lib.newevent.NewEvent()
class ShipBrowser(wx.Panel):
def __init__(self, parent):
self.built = False
wx.Panel.__init__(self, parent)
self.built = False
self.viewSizer = wx.BoxSizer(wx.VERTICAL)
self.SetSizer(self.viewSizer)