]> git.saurik.com Git - wxWidgets.git/blob - wxPython/demo/template.py
added missing button state
[wxWidgets.git] / wxPython / demo / template.py
1
2 import wx
3
4 #----------------------------------------------------------------------
5
6 class TestPanel(wx.Panel):
7 def __init__(self, parent, log):
8 self.log = log
9 wx.Panel.__init__(self, parent, -1)
10
11 #----------------------------------------------------------------------
12
13 def runTest(frame, nb, log):
14 win = TestPanel(nb, log)
15 return win
16
17 #----------------------------------------------------------------------
18
19
20
21 overview = """<html><body>
22 <h2><center>Say something nice here</center></h2>
23
24 </body></html>
25 """
26
27
28
29 if __name__ == '__main__':
30 import sys,os
31 import run
32 run.main(['', os.path.basename(sys.argv[0])] + sys.argv[1:])
33