]> git.saurik.com Git - wxWidgets.git/blob - wxPython/demo/wxScrolledMessageDialog.py
fixed extraneous scrolling when scrollbars are added/removed (patch 788026; bug 746618)
[wxWidgets.git] / wxPython / demo / wxScrolledMessageDialog.py
1
2 from wxPython.wx import *
3 from wxPython.lib.dialogs import wxScrolledMessageDialog
4
5 #---------------------------------------------------------------------------
6
7 def runTest(frame, nb, log):
8 f = open("Main.py", "r")
9 msg = f.read()
10 dlg = wxScrolledMessageDialog(frame, msg, "message test")
11 dlg.ShowModal()
12
13 #---------------------------------------------------------------------------
14
15
16
17
18
19
20 overview = """\
21 """
22
23
24
25
26
27 if __name__ == '__main__':
28 import sys,os
29 import run
30 run.main(['', os.path.basename(sys.argv[0])])