]>
git.saurik.com Git - wxWidgets.git/blob - wxPython/demo/template.py
2 import wx
# This module uses the new wx namespace
4 #----------------------------------------------------------------------
6 class TestPanel(wx
.Panel
):
7 def __init__(self
, parent
, log
):
9 wx
.Panel
.__init
__(self
, parent
, -1)
11 #----------------------------------------------------------------------
13 def runTest(frame
, nb
, log
):
14 win
= TestPanel(nb
, log
)
17 #----------------------------------------------------------------------
21 overview
= """<html><body>
22 <h2><center>Say something nice here</center></h2>
29 if __name__
== '__main__':
32 run
.main(['', os
.path
.basename(sys
.argv
[0])])