]> git.saurik.com Git - wxWidgets.git/blame - wxPython/samples/wxPIA_book/Chapter-04/spare.py
fix building/running of tex2rtf
[wxWidgets.git] / wxPython / samples / wxPIA_book / Chapter-04 / spare.py
CommitLineData
be05b434
RD
1#!/usr/bin/env python
2
3"""Spare.py is a starting point for simple wxPython programs."""
4
5import wx
6
7class Frame(wx.Frame):
8 pass
9
10class App(wx.App):
11
12 def OnInit(self):
13 self.frame = Frame(parent=None, id=-1, title='Spare')
14 self.frame.Show()
15 self.SetTopWindow(self.frame)
16 return True
17
18if __name__ == '__main__':
19 app = App()
20 app.MainLoop()