]> git.saurik.com Git - wxWidgets.git/blob - wxPython/demo/templateold.py
Make all samples in the demo have a panel in the demo notebook. For
[wxWidgets.git] / wxPython / demo / templateold.py
1
2 from wxPython.wx import *
3
4 #----------------------------------------------------------------------
5
6 class TestPanel(wxPanel):
7 def __init__(self, parent, log):
8 self.log = log
9 wxPanel.__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