X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/299647acac7960652aadb008775429c1f8ea9b8d..a2482628795b7de454ef093cb24910c98ad51f1d:/wxPython/demo/MessageDialog.py diff --git a/wxPython/demo/MessageDialog.py b/wxPython/demo/MessageDialog.py index 009c30fb11..ab36df8cdb 100644 --- a/wxPython/demo/MessageDialog.py +++ b/wxPython/demo/MessageDialog.py @@ -1,7 +1,3 @@ -# 11/20/2003 - Jeff Grimmett (grimmtooth@softhome.net) -# -# o Updated for wx namespace -# import wx @@ -27,7 +23,7 @@ and, if so, what kind. The dialog can be modal or not; of modal, the user's response is in the return code of ShowModal(). If not, the response can be taken from GetReturnCode() (inherited -from the wxDialog super class). If not modal and the return code is required, it +from the wx.Dialog). If not modal and the return code is required, it must be retrieved before the dialog is destroyed. """ @@ -36,4 +32,4 @@ must be retrieved before the dialog is destroyed. if __name__ == '__main__': import sys,os import run - run.main(['', os.path.basename(sys.argv[0])]) + run.main(['', os.path.basename(sys.argv[0])] + sys.argv[1:])