| 1 |
"""
|
| 2 |
Created by Emanuel Borges
|
| 3 |
<DATE HERE>
|
| 4 |
|
| 5 |
"""
|
| 6 |
|
| 7 |
|
| 8 |
import sys, os, wx
|
| 9 |
|
| 10 |
|
| 11 |
|
| 12 |
class MyFrame(wx.Frame):
|
| 13 |
def __init__(self, parent, ID, title, pos=wx.DefaultPosition):
|
| 14 |
wx.Frame.__init__(self, parent, ID, title, pos)
|
| 15 |
#db = ConcordanceConnection()
|
| 16 |
|
| 17 |
|
| 18 |
class MyApp(wx.App):
|
| 19 |
def OnInit(self):
|
| 20 |
self.frame = MyFrame(None, -1, "Something")
|
| 21 |
self.frame.Show(True)
|
| 22 |
self.SetTopWindow(self.frame)
|
| 23 |
return True
|
| 24 |
|
| 25 |
|
| 26 |
if __name__ == '__main__':
|
| 27 |
app = MyApp(0)
|
| 28 |
app.MainLoop() |