| 78 | |
| 79 | |
| 80 | class MyApp(wx.App): |
| 81 | def OnInit(self): |
| 82 | frame = MyFrame(None, "Simple wxPython App") |
| 83 | self.SetTopWindow(frame) |
| 84 | |
| 85 | print("Print statements go to this stdout window by default.") |
| 86 | |
| 87 | frame.Show(True) |
| 88 | return True |
| 89 | |
| 90 | |
| 91 | if __name__ == '__main__': |