#!/usr/bin/env python
#Boa:App:BoaApp

from wxPython.wx import *

import wxFrame1

modules ={'wxFrame1': [1, 'Main frame of Application', 'wxFrame1.py'],
 'wxFrame2': [0,
              'Example of frame as an attribute of another frame',
              'wxFrame2.py'],
 'wxFrame3': [0, 'Example of a dynamic frame', 'wxFrame3.py']}

class BoaApp(wxApp):
    def OnInit(self):
        self.main = wxFrame1.create(None)
        self.main.Show(true)
        self.SetTopWindow(self.main)
        return true

def main():
    application = BoaApp(0)
    application.MainLoop()

if __name__ == '__main__':
    main()
