]> git.saurik.com Git - wxWidgets.git/blame - wxPython/demo/template.py
pop the menu up on mouse down, not up (this is more common behaviour in Windows and...
[wxWidgets.git] / wxPython / demo / template.py
CommitLineData
d3bfec74 1
1fded56b 2import wx # This module uses the new wx namespace
d3bfec74
RD
3
4#----------------------------------------------------------------------
5
1fded56b 6class TestPanel(wx.Panel):
d3bfec74
RD
7 def __init__(self, parent, log):
8 self.log = log
1fded56b 9 wx.Panel.__init__(self, parent, -1)
d3bfec74
RD
10
11#----------------------------------------------------------------------
12
13def runTest(frame, nb, log):
14 win = TestPanel(nb, log)
15 return win
16
17#----------------------------------------------------------------------
18
19
20
21overview = """<html><body>
22<h2><center>Say something nice here</center></h2>
23
24</body></html>
25"""
72797a7d
RD
26
27
28
29if __name__ == '__main__':
30 import sys,os
31 import run
8eca4fef 32 run.main(['', os.path.basename(sys.argv[0])] + sys.argv[1:])
72797a7d 33