be05b43451
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42925 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
21 lines
384 B
Python
21 lines
384 B
Python
#!/usr/bin/env python
|
|
|
|
"""Spare.py is a starting point for simple wxPython programs."""
|
|
|
|
import wx
|
|
|
|
class Frame(wx.Frame):
|
|
pass
|
|
|
|
class App(wx.App):
|
|
|
|
def OnInit(self):
|
|
self.frame = Frame(parent=None, id=-1, title='Spare')
|
|
self.frame.Show()
|
|
self.SetTopWindow(self.frame)
|
|
return True
|
|
|
|
if __name__ == '__main__':
|
|
app = App()
|
|
app.MainLoop()
|