def main():
    from data import musicdata

    app = wx.App()
    frm = wx.Frame(None, title="CustomRenderer sample", size=(700,500))
    pnl = TestPanel(frm, sys.stdout, data=musicdata)
    frm.Show()
    app.MainLoop()