I know that wxValidator.Validate() is called automatically when a button with wxID_OK is pressed. How do you replicate that functionality when the wxValidator is used in a wxPanel? Is there a way of calling all validators at once?
Cheers,
James Shaw
···
_________________________________________________________________
Join the world�s largest e-mail service with MSN Hotmail. http://www.hotmail.com
I know that wxValidator.Validate() is called automatically when a button
with wxID_OK is pressed. How do you replicate that functionality when the
wxValidator is used in a wxPanel? Is there a way of calling all
validators
at once?
Call panel.Validate(). It returns false if any of the validators failed.
···
--
Robin Dunn
Software Craftsman
robin@AllDunn.com Java give you jitters? http://wxPython.org Relax with wxPython!