]> git.saurik.com Git - wxWidgets.git/blame - wxPython/demo/wxMessageDialog.py
mention ShouldInheritColours() change
[wxWidgets.git] / wxPython / demo / wxMessageDialog.py
CommitLineData
cf694132
RD
1
2from wxPython.wx import *
3
4#---------------------------------------------------------------------------
5
6def runTest(frame, nb, log):
7 dlg = wxMessageDialog(frame, 'Hello from Python and wxPython!',
8 'A Message Box', wxOK | wxICON_INFORMATION)
26197023 9 #wxYES_NO | wxNO_DEFAULT | wxCANCEL | wxICON_INFORMATION)
cf694132
RD
10 dlg.ShowModal()
11 dlg.Destroy()
12
13#---------------------------------------------------------------------------
14
15
16
17
18
19
20
21
22
23
24
25
26
27overview = """\
1fded56b
RD
28Show a message to the user in a dialog
29"""
cf694132 30
cf694132 31
cf694132 32
cf694132 33
cf694132 34
1fded56b
RD
35if __name__ == '__main__':
36 import sys,os
37 import run
38 run.main(['', os.path.basename(sys.argv[0])])