]> git.saurik.com Git - wxWidgets.git/blame - wxPython/samples/wx_examples/basic/app.py
Rename the grid selection mode flags
[wxWidgets.git] / wxPython / samples / wx_examples / basic / app.py
CommitLineData
1fded56b
RD
1#!/usr/bin/env python
2
3"""Basic application class."""
4
5__author__ = "Patrick K. O'Brien <pobrien@orbtech.com>"
6__cvsid__ = "$Id$"
7__revision__ = "$Revision$"[11:-2]
8
9import wx
10
11from frame import Frame
12
13class App(wx.App):
14 """Application class."""
15
16 def OnInit(self):
17 self.frame = Frame()
18 self.frame.Show()
19 self.SetTopWindow(self.frame)
20 return True
21
22def main():
23 app = App()
24 app.MainLoop()
25
26if __name__ == '__main__':
27 main()