X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/3c29a62abbf238f3df5f014f83a6a8a47a6f07ac..b4eecebd423df0c6efe86d7658cd3df818d67ed8:/wxPython/demo/MaskedNumCtrl.py?ds=sidebyside diff --git a/wxPython/demo/MaskedNumCtrl.py b/wxPython/demo/MaskedNumCtrl.py index 80eb46465a..28a488584b 100644 --- a/wxPython/demo/MaskedNumCtrl.py +++ b/wxPython/demo/MaskedNumCtrl.py @@ -33,8 +33,8 @@ The controls at the top reconfigure the resulting control at the bottom. groupcharlabel = wx.StaticText( panel,-1, "Grouping char:" ) self.groupchar = masked.TextCtrl( - panel, -1, value=',', mask='&', excludeChars = '-()', - formatcodes='F', emptyInvalid=True, validRequired=True + panel, -1, value=',', mask='*', includeChars = ' ', excludeChars = '-()0123456789', + formatcodes='F', emptyInvalid=False, validRequired=True ) decimalcharlabel = wx.StaticText( panel,-1, "Decimal char:" ) @@ -324,7 +324,10 @@ def runTest( frame, nb, log ): #---------------------------------------------------------------------- import wx.lib.masked.numctrl as mnum -overview = mnum.__doc__ +overview = """ +
+""" + mnum.__doc__ + """ +""" if __name__ == '__main__': import sys,os