2 from wxPython
.wx
import *
4 #---------------------------------------------------------------------------
6 def runTest(frame
, nb
, log
):
7 dlg
= wxMessageDialog(frame
, 'Hello from Python and wxPython!',
8 'A Message Box', wxOK | wxICON_INFORMATION
)
9 #wxYES_NO | wxNO_DEFAULT | wxCANCEL | wxICON_INFORMATION)
13 #---------------------------------------------------------------------------
28 Show a message to the user in a dialog
35 if __name__
== '__main__':
38 run
.main(['', os
.path
.basename(sys
.argv
[0])])