Adding Validation to wx.TextEntryDialog

David A. Barrett barrettd at asgard.com
Mon Jun 18 12:34:23 PDT 2007


Is there any way to add a validator to a wx.TextEntryDialog?
I tried using SetValidator() in the __init__ of a class inheriting
from wx.TextEntryDialog, but my Validate() method didn't seem
to get called on the OK press.  I'll contrive and post a code
example is the answer to my question should be "yes."

thanks!

Dave




More information about the wxpython-users mailing list