import wx

class Example(wx.Frame):
  
    def __init__(self, parent, title):
        super(Example, self).__init__(parent, title=title, 
            size=(1000, 1000), style=wx.DEFAULT_FRAME_STYLE ^ wx.SYSTEM_MENU)
            
        self.InitUI()
        self.Centre()
            
        
    def InitUI(self):
    
        panel = wx.Panel(self)

##        hbox = wx.BoxSizer(wx.HORIZONTAL)

        gbs =  wx.GridBagSizer(hgap=5, vgap=5)
        
        title = wx.StaticText(panel, label="Title", style=wx.ALIGN_CENTRE_HORIZONTAL)

        b1 = wx.Button(panel)
        b1.SetLabel("Return")
        b2 = wx.Button(panel)
        b2.SetLabel("More")
 
        tc3 = wx.ListCtrl(panel, size=(950,800), style=wx.LC_REPORT)
        tc3.InsertColumn(0, "Level")
        tc3.InsertColumn(1, "Name")
        tc3.InsertColumn(2, "Details", width=500)
        tc3.InsertStringItem(0,"this is a test")
        tc3.InsertStringItem(1,"this is also a test")
        tc3.SetStringItem(0, 0, 'test0')
        tc3.SetStringItem(0, 1, "test1")
        tc3.SetStringItem(0, 2, "test2")

        gbs.Add(title, pos=(0,0), span=(1,2),flag=wx.EXPAND)
        gbs.Add(b1, pos=(1,0))
        gbs.Add(b2, pos=(1,1))
        gbs.Add(tc3, pos=(3,0), span=(1,2), flag=wx.EXPAND)

        gbs.AddGrowableRow(2, 1)
        gbs.AddGrowableCol(1, 1)

##        hbox.Add(gbs, proportion=1, flag=wx.ALL|wx.EXPAND, border=15)
        panel.SetSizer(gbs)


if __name__ == '__main__':
  
    app = wx.App(False)
    frame = Example(None, title='Review')
    frame.Show()
    app.MainLoop()