X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/299647acac7960652aadb008775429c1f8ea9b8d..66394199cf03f0e9a3a675fe9829d31463ad38bb:/wxPython/demo/Validator.py?ds=sidebyside diff --git a/wxPython/demo/Validator.py b/wxPython/demo/Validator.py index b31b56b8f3..d31296c7be 100644 --- a/wxPython/demo/Validator.py +++ b/wxPython/demo/Validator.py @@ -1,12 +1,7 @@ -# 11/22/2003 - Jeff Grimmett (grimmtooth@softhome.net) -# -# o Updated for wx namespace -# import string import wx - #---------------------------------------------------------------------- ALPHA_ONLY = 1 @@ -220,7 +215,7 @@ def runTest(frame, nb, log): overview = """\ -wxValidator is the base class for a family of validator classes that mediate +wx.Validator is the base class for a family of validator classes that mediate between a class of control, and application data.

A validator has three major roles: @@ -240,5 +235,5 @@ between a class of control, and application data. 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:])