]> git.saurik.com Git - wxWidgets.git/blobdiff - wxPython/demo/MaskedNumCtrl.py
added missing button state
[wxWidgets.git] / wxPython / demo / MaskedNumCtrl.py
index 80eb46465a2b8a2b4ab03899a0bbb59beab8a6e7..28a488584b2f921cbb254119ce68e30e594f1be2 100644 (file)
@@ -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 = """<html>
+<PRE><FONT SIZE=-1>
+""" + mnum.__doc__ + """
+</FONT></PRE>"""
 
 if __name__ == '__main__':
     import sys,os